mobileengagement

package
v12.3.0-beta+incompatible Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mobileengagement implements the Azure ARM Mobileengagement service API version 2014-12-01.

Microsoft Azure Mobile Engagement REST APIs.

Deprecated: Please instead use github.com/Azure/azure-sdk-for-go/services/mobileengagement/mgmt/2014-12-01/mobileengagement

Index

Constants

View Source
const (
	// DefaultBaseURI is the default URI used for the service Mobileengagement
	DefaultBaseURI = "https://management.azure.com"
)

Variables

This section is empty.

Functions

func UserAgent

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

Types

type APIError

type APIError struct {
	Error *APIErrorError `json:"error,omitempty"`
}

APIError is

type APIErrorError

type APIErrorError struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
}

APIErrorError is

type AnnouncementFeedbackCriterion

type AnnouncementFeedbackCriterion struct {
	Type      Type              `json:"type,omitempty"`
	ContentID *int32            `json:"content-id,omitempty"`
	Action    CampaignFeedbacks `json:"action,omitempty"`
}

AnnouncementFeedbackCriterion is used to target devices who received an announcement.

func (AnnouncementFeedbackCriterion) AsAnnouncementFeedbackCriterion

func (afc AnnouncementFeedbackCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsApplicationVersionCriterion

func (afc AnnouncementFeedbackCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsBooleanTagCriterion

func (afc AnnouncementFeedbackCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsCarrierCountryCriterion

func (afc AnnouncementFeedbackCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsCarrierNameCriterion

func (afc AnnouncementFeedbackCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDatapushFeedbackCriterion

func (afc AnnouncementFeedbackCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDateTagCriterion

func (afc AnnouncementFeedbackCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDeviceManufacturerCriterion

func (afc AnnouncementFeedbackCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDeviceModelCriterion

func (afc AnnouncementFeedbackCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsFirmwareVersionCriterion

func (afc AnnouncementFeedbackCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsGeoFencingCriterion

func (afc AnnouncementFeedbackCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsIntegerTagCriterion

func (afc AnnouncementFeedbackCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsLanguageCriterion

func (afc AnnouncementFeedbackCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsLocationCriterion

func (afc AnnouncementFeedbackCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsNetworkTypeCriterion

func (afc AnnouncementFeedbackCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsPollAnswerFeedbackCriterion

func (afc AnnouncementFeedbackCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsPollFeedbackCriterion

func (afc AnnouncementFeedbackCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsScreenSizeCriterion

func (afc AnnouncementFeedbackCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsSegmentCriterion

func (afc AnnouncementFeedbackCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsStringTagCriterion

func (afc AnnouncementFeedbackCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) MarshalJSON

func (afc AnnouncementFeedbackCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AnnouncementFeedbackCriterion.

type App

type App struct {
	ID             *string             `json:"id,omitempty"`
	Name           *string             `json:"name,omitempty"`
	Type           *string             `json:"type,omitempty"`
	Location       *string             `json:"location,omitempty"`
	Tags           *map[string]*string `json:"tags,omitempty"`
	*AppProperties `json:"properties,omitempty"`
}

App is the Mobile Engagement App resource.

type AppCollection

type AppCollection struct {
	ID                       *string             `json:"id,omitempty"`
	Name                     *string             `json:"name,omitempty"`
	Type                     *string             `json:"type,omitempty"`
	Location                 *string             `json:"location,omitempty"`
	Tags                     *map[string]*string `json:"tags,omitempty"`
	*AppCollectionProperties `json:"properties,omitempty"`
}

AppCollection is the AppCollection resource.

type AppCollectionListResult

type AppCollectionListResult struct {
	autorest.Response `json:"-"`
	Value             *[]AppCollection `json:"value,omitempty"`
	NextLink          *string          `json:"nextLink,omitempty"`
}

AppCollectionListResult is the list AppCollections operation response.

func (AppCollectionListResult) AppCollectionListResultPreparer

func (client AppCollectionListResult) AppCollectionListResultPreparer() (*http.Request, error)

AppCollectionListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AppCollectionNameAvailability

type AppCollectionNameAvailability struct {
	autorest.Response    `json:"-"`
	Name                 *string `json:"name,omitempty"`
	Available            *bool   `json:"available,omitempty"`
	UnavailabilityReason *string `json:"unavailabilityReason,omitempty"`
}

AppCollectionNameAvailability is

type AppCollectionProperties

type AppCollectionProperties struct {
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
}

AppCollectionProperties is

type AppCollectionsClient

type AppCollectionsClient struct {
	ManagementClient
}

AppCollectionsClient is the microsoft Azure Mobile Engagement REST APIs.

func NewAppCollectionsClient

func NewAppCollectionsClient(subscriptionID string) AppCollectionsClient

NewAppCollectionsClient creates an instance of the AppCollectionsClient client.

func NewAppCollectionsClientWithBaseURI

func NewAppCollectionsClientWithBaseURI(baseURI string, subscriptionID string) AppCollectionsClient

NewAppCollectionsClientWithBaseURI creates an instance of the AppCollectionsClient client.

func (AppCollectionsClient) CheckNameAvailability

func (client AppCollectionsClient) CheckNameAvailability(parameters AppCollectionNameAvailability) (result AppCollectionNameAvailability, err error)

CheckNameAvailability checks availability of an app collection name in the Engagement domain.

func (AppCollectionsClient) CheckNameAvailabilityPreparer

func (client AppCollectionsClient) CheckNameAvailabilityPreparer(parameters AppCollectionNameAvailability) (*http.Request, error)

CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.

func (AppCollectionsClient) CheckNameAvailabilityResponder

func (client AppCollectionsClient) CheckNameAvailabilityResponder(resp *http.Response) (result AppCollectionNameAvailability, err error)

CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.

func (AppCollectionsClient) CheckNameAvailabilitySender

func (client AppCollectionsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)

CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.

func (AppCollectionsClient) List

func (client AppCollectionsClient) List() (result AppCollectionListResult, err error)

List lists app collections in a subscription.

func (AppCollectionsClient) ListComplete

func (client AppCollectionsClient) ListComplete(cancel <-chan struct{}) (<-chan AppCollection, <-chan error)

ListComplete gets all elements from the list without paging.

func (AppCollectionsClient) ListNextResults

func (client AppCollectionsClient) ListNextResults(lastResults AppCollectionListResult) (result AppCollectionListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (AppCollectionsClient) ListPreparer

func (client AppCollectionsClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (AppCollectionsClient) ListResponder

func (client AppCollectionsClient) ListResponder(resp *http.Response) (result AppCollectionListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AppCollectionsClient) ListSender

func (client AppCollectionsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AppInfoFilter

type AppInfoFilter struct {
	Type    TypeFilter `json:"type,omitempty"`
	AppInfo *[]string  `json:"appInfo,omitempty"`
}

AppInfoFilter is send only to users who have some app info set. This is a special filter that is automatically added if your campaign contains appInfo parameters. It is not intended to be public and should not be used as it could be removed or replaced by the API.

func (AppInfoFilter) AsAppInfoFilter

func (aif AppInfoFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageActiveUsersFilter

func (aif AppInfoFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageIdleUsersFilter

func (aif AppInfoFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageNewUsersFilter

func (aif AppInfoFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageOldUsersFilter

func (aif AppInfoFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageSubsetFilter

func (aif AppInfoFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsNativePushEnabledFilter

func (aif AppInfoFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) AsPushQuotaFilter

func (aif AppInfoFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for AppInfoFilter.

func (AppInfoFilter) MarshalJSON

func (aif AppInfoFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppInfoFilter.

type AppListResult

type AppListResult struct {
	autorest.Response `json:"-"`
	Value             *[]App  `json:"value,omitempty"`
	NextLink          *string `json:"nextLink,omitempty"`
}

AppListResult is the list Apps operation response.

func (AppListResult) AppListResultPreparer

func (client AppListResult) AppListResultPreparer() (*http.Request, error)

AppListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type AppProperties

type AppProperties struct {
	BackendID *string `json:"backendId,omitempty"`
	Platform  *string `json:"platform,omitempty"`
	AppState  *string `json:"appState,omitempty"`
}

AppProperties is

type ApplicationVersionCriterion

type ApplicationVersionCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

ApplicationVersionCriterion is used to target devices based on the version of the application they are using.

func (ApplicationVersionCriterion) AsAnnouncementFeedbackCriterion

func (avc ApplicationVersionCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsApplicationVersionCriterion

func (avc ApplicationVersionCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsBooleanTagCriterion

func (avc ApplicationVersionCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsCarrierCountryCriterion

func (avc ApplicationVersionCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsCarrierNameCriterion

func (avc ApplicationVersionCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDatapushFeedbackCriterion

func (avc ApplicationVersionCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDateTagCriterion

func (avc ApplicationVersionCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDeviceManufacturerCriterion

func (avc ApplicationVersionCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDeviceModelCriterion

func (avc ApplicationVersionCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsFirmwareVersionCriterion

func (avc ApplicationVersionCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsGeoFencingCriterion

func (avc ApplicationVersionCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsIntegerTagCriterion

func (avc ApplicationVersionCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsLanguageCriterion

func (avc ApplicationVersionCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsLocationCriterion

func (avc ApplicationVersionCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsNetworkTypeCriterion

func (avc ApplicationVersionCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsPollAnswerFeedbackCriterion

func (avc ApplicationVersionCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsPollFeedbackCriterion

func (avc ApplicationVersionCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsScreenSizeCriterion

func (avc ApplicationVersionCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsSegmentCriterion

func (avc ApplicationVersionCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsStringTagCriterion

func (avc ApplicationVersionCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) MarshalJSON

func (avc ApplicationVersionCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ApplicationVersionCriterion.

type AppsClient

type AppsClient struct {
	ManagementClient
}

AppsClient is the microsoft Azure Mobile Engagement REST APIs.

func NewAppsClient

func NewAppsClient(subscriptionID string) AppsClient

NewAppsClient creates an instance of the AppsClient client.

func NewAppsClientWithBaseURI

func NewAppsClientWithBaseURI(baseURI string, subscriptionID string) AppsClient

NewAppsClientWithBaseURI creates an instance of the AppsClient client.

func (AppsClient) List

func (client AppsClient) List(resourceGroupName string, appCollection string) (result AppListResult, err error)

List lists apps in an appCollection.

resourceGroupName is the name of the resource group. appCollection is application collection.

func (AppsClient) ListComplete

func (client AppsClient) ListComplete(resourceGroupName string, appCollection string, cancel <-chan struct{}) (<-chan App, <-chan error)

ListComplete gets all elements from the list without paging.

func (AppsClient) ListNextResults

func (client AppsClient) ListNextResults(lastResults AppListResult) (result AppListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (AppsClient) ListPreparer

func (client AppsClient) ListPreparer(resourceGroupName string, appCollection string) (*http.Request, error)

ListPreparer prepares the List request.

func (AppsClient) ListResponder

func (client AppsClient) ListResponder(resp *http.Response) (result AppListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (AppsClient) ListSender

func (client AppsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type AudienceOperators

type AudienceOperators string

AudienceOperators enumerates the values for audience operators.

const (
	// EQ specifies the eq state for audience operators.
	EQ AudienceOperators = "EQ"
	// GE specifies the ge state for audience operators.
	GE AudienceOperators = "GE"
	// GT specifies the gt state for audience operators.
	GT AudienceOperators = "GT"
	// LE specifies the le state for audience operators.
	LE AudienceOperators = "LE"
	// LT specifies the lt state for audience operators.
	LT AudienceOperators = "LT"
)

type BooleanTagCriterion

type BooleanTagCriterion struct {
	Type  Type    `json:"type,omitempty"`
	Name  *string `json:"name,omitempty"`
	Value *bool   `json:"value,omitempty"`
}

BooleanTagCriterion is target devices based on a boolean tag value.

func (BooleanTagCriterion) AsAnnouncementFeedbackCriterion

func (btc BooleanTagCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsApplicationVersionCriterion

func (btc BooleanTagCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsBooleanTagCriterion

func (btc BooleanTagCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsCarrierCountryCriterion

func (btc BooleanTagCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsCarrierNameCriterion

func (btc BooleanTagCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDatapushFeedbackCriterion

func (btc BooleanTagCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDateTagCriterion

func (btc BooleanTagCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDeviceManufacturerCriterion

func (btc BooleanTagCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDeviceModelCriterion

func (btc BooleanTagCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsFirmwareVersionCriterion

func (btc BooleanTagCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsGeoFencingCriterion

func (btc BooleanTagCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsIntegerTagCriterion

func (btc BooleanTagCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsLanguageCriterion

func (btc BooleanTagCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsLocationCriterion

func (btc BooleanTagCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsNetworkTypeCriterion

func (btc BooleanTagCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsPollAnswerFeedbackCriterion

func (btc BooleanTagCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsPollFeedbackCriterion

func (btc BooleanTagCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsScreenSizeCriterion

func (btc BooleanTagCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsSegmentCriterion

func (btc BooleanTagCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsStringTagCriterion

func (btc BooleanTagCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) MarshalJSON

func (btc BooleanTagCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for BooleanTagCriterion.

type Campaign

type Campaign struct {
	NotificationTitle     *string                           `json:"notificationTitle,omitempty"`
	NotificationMessage   *string                           `json:"notificationMessage,omitempty"`
	NotificationImage     *[]byte                           `json:"notificationImage,omitempty"`
	NotificationOptions   *NotificationOptions              `json:"notificationOptions,omitempty"`
	Title                 *string                           `json:"title,omitempty"`
	Body                  *string                           `json:"body,omitempty"`
	ActionButtonText      *string                           `json:"actionButtonText,omitempty"`
	ExitButtonText        *string                           `json:"exitButtonText,omitempty"`
	ActionURL             *string                           `json:"actionUrl,omitempty"`
	Payload               *map[string]interface{}           `json:"payload,omitempty"`
	Name                  *string                           `json:"name,omitempty"`
	Audience              *CampaignAudience                 `json:"audience,omitempty"`
	Category              *string                           `json:"category,omitempty"`
	PushMode              PushModes                         `json:"pushMode,omitempty"`
	Type                  CampaignTypes                     `json:"type,omitempty"`
	DeliveryTime          DeliveryTimes                     `json:"deliveryTime,omitempty"`
	DeliveryActivities    *[]string                         `json:"deliveryActivities,omitempty"`
	StartTime             *string                           `json:"startTime,omitempty"`
	EndTime               *string                           `json:"endTime,omitempty"`
	Timezone              *string                           `json:"timezone,omitempty"`
	NotificationType      NotificationTypes                 `json:"notificationType,omitempty"`
	NotificationIcon      *bool                             `json:"notificationIcon,omitempty"`
	NotificationCloseable *bool                             `json:"notificationCloseable,omitempty"`
	NotificationVibrate   *bool                             `json:"notificationVibrate,omitempty"`
	NotificationSound     *bool                             `json:"notificationSound,omitempty"`
	NotificationBadge     *bool                             `json:"notificationBadge,omitempty"`
	Localization          *map[string]*CampaignLocalization `json:"localization,omitempty"`
	Questions             *[]PollQuestion                   `json:"questions,omitempty"`
}

Campaign is

type CampaignAudience

type CampaignAudience struct {
	Expression *string                `json:"expression,omitempty"`
	Criteria   *map[string]*Criterion `json:"criteria,omitempty"`
	Filters    *[]Filter              `json:"filters,omitempty"`
}

CampaignAudience is specify which users will be targeted by this campaign. By default, all users will be targeted. If you set `pushMode` property to `manual`, the only thing you can specify in the audience is the push quota filter. An audience is a boolean expression made of criteria (variables) operators (`not`, `and` or `or`) and parenthesis. Additionally, a set of filters can be added to an audience. 65535 bytes max as per JSON encoding.

func (*CampaignAudience) UnmarshalJSON

func (c *CampaignAudience) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CampaignAudience struct.

type CampaignFeedbacks

type CampaignFeedbacks string

CampaignFeedbacks enumerates the values for campaign feedbacks.

const (
	// Actioned specifies the actioned state for campaign feedbacks.
	Actioned CampaignFeedbacks = "actioned"
	// Exited specifies the exited state for campaign feedbacks.
	Exited CampaignFeedbacks = "exited"
	// Pushed specifies the pushed state for campaign feedbacks.
	Pushed CampaignFeedbacks = "pushed"
	// Replied specifies the replied state for campaign feedbacks.
	Replied CampaignFeedbacks = "replied"
)

type CampaignKinds

type CampaignKinds string

CampaignKinds enumerates the values for campaign kinds.

const (
	// Announcements specifies the announcements state for campaign kinds.
	Announcements CampaignKinds = "announcements"
	// DataPushes specifies the data pushes state for campaign kinds.
	DataPushes CampaignKinds = "dataPushes"
	// NativePushes specifies the native pushes state for campaign kinds.
	NativePushes CampaignKinds = "nativePushes"
	// Polls specifies the polls state for campaign kinds.
	Polls CampaignKinds = "polls"
)

type CampaignListResult

type CampaignListResult struct {
	State         CampaignStates `json:"state,omitempty"`
	ID            *int32         `json:"id,omitempty"`
	Name          *string        `json:"name,omitempty"`
	ActivatedDate *date.Time     `json:"activatedDate,omitempty"`
	FinishedDate  *date.Time     `json:"finishedDate,omitempty"`
	StartTime     *date.Time     `json:"startTime,omitempty"`
	EndTime       *date.Time     `json:"endTime,omitempty"`
	Timezone      *string        `json:"timezone,omitempty"`
}

CampaignListResult is

type CampaignLocalization

type CampaignLocalization struct {
	NotificationTitle   *string                 `json:"notificationTitle,omitempty"`
	NotificationMessage *string                 `json:"notificationMessage,omitempty"`
	NotificationImage   *[]byte                 `json:"notificationImage,omitempty"`
	NotificationOptions *NotificationOptions    `json:"notificationOptions,omitempty"`
	Title               *string                 `json:"title,omitempty"`
	Body                *string                 `json:"body,omitempty"`
	ActionButtonText    *string                 `json:"actionButtonText,omitempty"`
	ExitButtonText      *string                 `json:"exitButtonText,omitempty"`
	ActionURL           *string                 `json:"actionUrl,omitempty"`
	Payload             *map[string]interface{} `json:"payload,omitempty"`
}

CampaignLocalization is

type CampaignPushParameters

type CampaignPushParameters struct {
	DeviceIds *[]string `json:"deviceIds,omitempty"`
	Data      *Campaign `json:"data,omitempty"`
}

CampaignPushParameters is

type CampaignPushResult

type CampaignPushResult struct {
	autorest.Response `json:"-"`
	InvalidDeviceIds  *[]string `json:"invalidDeviceIds,omitempty"`
}

CampaignPushResult is

type CampaignResult

type CampaignResult struct {
	autorest.Response     `json:"-"`
	NotificationTitle     *string                           `json:"notificationTitle,omitempty"`
	NotificationMessage   *string                           `json:"notificationMessage,omitempty"`
	NotificationImage     *[]byte                           `json:"notificationImage,omitempty"`
	NotificationOptions   *NotificationOptions              `json:"notificationOptions,omitempty"`
	Title                 *string                           `json:"title,omitempty"`
	Body                  *string                           `json:"body,omitempty"`
	ActionButtonText      *string                           `json:"actionButtonText,omitempty"`
	ExitButtonText        *string                           `json:"exitButtonText,omitempty"`
	ActionURL             *string                           `json:"actionUrl,omitempty"`
	Payload               *map[string]interface{}           `json:"payload,omitempty"`
	Name                  *string                           `json:"name,omitempty"`
	Audience              *CampaignAudience                 `json:"audience,omitempty"`
	Category              *string                           `json:"category,omitempty"`
	PushMode              PushModes                         `json:"pushMode,omitempty"`
	Type                  CampaignTypes                     `json:"type,omitempty"`
	DeliveryTime          DeliveryTimes                     `json:"deliveryTime,omitempty"`
	DeliveryActivities    *[]string                         `json:"deliveryActivities,omitempty"`
	StartTime             *string                           `json:"startTime,omitempty"`
	EndTime               *string                           `json:"endTime,omitempty"`
	Timezone              *string                           `json:"timezone,omitempty"`
	NotificationType      NotificationTypes                 `json:"notificationType,omitempty"`
	NotificationIcon      *bool                             `json:"notificationIcon,omitempty"`
	NotificationCloseable *bool                             `json:"notificationCloseable,omitempty"`
	NotificationVibrate   *bool                             `json:"notificationVibrate,omitempty"`
	NotificationSound     *bool                             `json:"notificationSound,omitempty"`
	NotificationBadge     *bool                             `json:"notificationBadge,omitempty"`
	Localization          *map[string]*CampaignLocalization `json:"localization,omitempty"`
	Questions             *[]PollQuestion                   `json:"questions,omitempty"`
	ID                    *int32                            `json:"id,omitempty"`
	State                 CampaignStates                    `json:"state,omitempty"`
	ActivatedDate         *date.Time                        `json:"activatedDate,omitempty"`
	FinishedDate          *date.Time                        `json:"finishedDate,omitempty"`
}

CampaignResult is

type CampaignState

type CampaignState struct {
	autorest.Response `json:"-"`
	State             CampaignStates `json:"state,omitempty"`
}

CampaignState is

type CampaignStateResult

type CampaignStateResult struct {
	autorest.Response `json:"-"`
	State             CampaignStates `json:"state,omitempty"`
	ID                *int32         `json:"id,omitempty"`
}

CampaignStateResult is

type CampaignStates

type CampaignStates string

CampaignStates enumerates the values for campaign states.

const (
	// Draft specifies the draft state for campaign states.
	Draft CampaignStates = "draft"
	// Finished specifies the finished state for campaign states.
	Finished CampaignStates = "finished"
	// InProgress specifies the in progress state for campaign states.
	InProgress CampaignStates = "in-progress"
	// Queued specifies the queued state for campaign states.
	Queued CampaignStates = "queued"
	// Scheduled specifies the scheduled state for campaign states.
	Scheduled CampaignStates = "scheduled"
)

type CampaignStatisticsResult

type CampaignStatisticsResult struct {
	autorest.Response           `json:"-"`
	Queued                      *int32                              `json:"queued,omitempty"`
	Pushed                      *int32                              `json:"pushed,omitempty"`
	PushedNative                *int32                              `json:"pushed-native,omitempty"`
	PushedNativeGoogle          *int32                              `json:"pushed-native-google,omitempty"`
	PushedNativeAdm             *int32                              `json:"pushed-native-adm,omitempty"`
	Delivered                   *int32                              `json:"delivered,omitempty"`
	Dropped                     *int32                              `json:"dropped,omitempty"`
	SystemNotificationDisplayed *int32                              `json:"system-notification-displayed,omitempty"`
	InAppNotificationDisplayed  *int32                              `json:"in-app-notification-displayed,omitempty"`
	ContentDisplayed            *int32                              `json:"content-displayed,omitempty"`
	SystemNotificationActioned  *int32                              `json:"system-notification-actioned,omitempty"`
	SystemNotificationExited    *int32                              `json:"system-notification-exited,omitempty"`
	InAppNotificationActioned   *int32                              `json:"in-app-notification-actioned,omitempty"`
	InAppNotificationExited     *int32                              `json:"in-app-notification-exited,omitempty"`
	ContentActioned             *int32                              `json:"content-actioned,omitempty"`
	ContentExited               *int32                              `json:"content-exited,omitempty"`
	Answers                     *map[string]*map[string]interface{} `json:"answers,omitempty"`
}

CampaignStatisticsResult is

type CampaignTestNewParameters

type CampaignTestNewParameters struct {
	DeviceID *string   `json:"deviceId,omitempty"`
	Lang     *string   `json:"lang,omitempty"`
	Data     *Campaign `json:"data,omitempty"`
}

CampaignTestNewParameters is

type CampaignTestSavedParameters

type CampaignTestSavedParameters struct {
	DeviceID *string `json:"deviceId,omitempty"`
	Lang     *string `json:"lang,omitempty"`
}

CampaignTestSavedParameters is

type CampaignType

type CampaignType string

CampaignType enumerates the values for campaign type.

const (
	// Announcement specifies the announcement state for campaign type.
	Announcement CampaignType = "Announcement"
	// DataPush specifies the data push state for campaign type.
	DataPush CampaignType = "DataPush"
	// NativePush specifies the native push state for campaign type.
	NativePush CampaignType = "NativePush"
	// Poll specifies the poll state for campaign type.
	Poll CampaignType = "Poll"
)

type CampaignTypes

type CampaignTypes string

CampaignTypes enumerates the values for campaign types.

const (
	// OnlyNotif specifies the only notif state for campaign types.
	OnlyNotif CampaignTypes = "only_notif"
	// Textbase64 specifies the textbase 64 state for campaign types.
	Textbase64 CampaignTypes = "text/base64"
	// Texthtml specifies the texthtml state for campaign types.
	Texthtml CampaignTypes = "text/html"
	// Textplain specifies the textplain state for campaign types.
	Textplain CampaignTypes = "text/plain"
)

type CampaignsClient

type CampaignsClient struct {
	ManagementClient
}

CampaignsClient is the microsoft Azure Mobile Engagement REST APIs.

func NewCampaignsClient

func NewCampaignsClient(subscriptionID string) CampaignsClient

NewCampaignsClient creates an instance of the CampaignsClient client.

func NewCampaignsClientWithBaseURI

func NewCampaignsClientWithBaseURI(baseURI string, subscriptionID string) CampaignsClient

NewCampaignsClientWithBaseURI creates an instance of the CampaignsClient client.

func (CampaignsClient) Activate

func (client CampaignsClient) Activate(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32) (result CampaignStateResult, err error)

Activate activate a campaign previously created by a call to Create campaign.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. ID is campaign identifier.

func (CampaignsClient) ActivatePreparer

func (client CampaignsClient) ActivatePreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32) (*http.Request, error)

ActivatePreparer prepares the Activate request.

func (CampaignsClient) ActivateResponder

func (client CampaignsClient) ActivateResponder(resp *http.Response) (result CampaignStateResult, err error)

ActivateResponder handles the response to the Activate request. The method always closes the http.Response Body.

func (CampaignsClient) ActivateSender

func (client CampaignsClient) ActivateSender(req *http.Request) (*http.Response, error)

ActivateSender sends the Activate request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Create

func (client CampaignsClient) Create(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, parameters Campaign) (result CampaignStateResult, err error)

Create create a push campaign (announcement, poll, data push or native push).

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. parameters is parameters supplied to the Update Campaign operation.

func (CampaignsClient) CreatePreparer

func (client CampaignsClient) CreatePreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, parameters Campaign) (*http.Request, error)

CreatePreparer prepares the Create request.

func (CampaignsClient) CreateResponder

func (client CampaignsClient) CreateResponder(resp *http.Response) (result CampaignStateResult, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (CampaignsClient) CreateSender

func (client CampaignsClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Delete

func (client CampaignsClient) Delete(kind CampaignKinds, ID int32, resourceGroupName string, appCollection string, appName string) (result autorest.Response, err error)

Delete delete a campaign previously created by a call to Create campaign.

kind is campaign kind. ID is campaign identifier. resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (CampaignsClient) DeletePreparer

func (client CampaignsClient) DeletePreparer(kind CampaignKinds, ID int32, resourceGroupName string, appCollection string, appName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (CampaignsClient) DeleteResponder

func (client CampaignsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (CampaignsClient) DeleteSender

func (client CampaignsClient) DeleteSender(req *http.Request) (*http.Response, error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Finish

func (client CampaignsClient) Finish(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32) (result CampaignStateResult, err error)

Finish finish a push campaign previously activated by a call to Activate campaign.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. ID is campaign identifier.

func (CampaignsClient) FinishPreparer

func (client CampaignsClient) FinishPreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32) (*http.Request, error)

FinishPreparer prepares the Finish request.

func (CampaignsClient) FinishResponder

func (client CampaignsClient) FinishResponder(resp *http.Response) (result CampaignStateResult, err error)

FinishResponder handles the response to the Finish request. The method always closes the http.Response Body.

func (CampaignsClient) FinishSender

func (client CampaignsClient) FinishSender(req *http.Request) (*http.Response, error)

FinishSender sends the Finish request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Get

func (client CampaignsClient) Get(kind CampaignKinds, ID int32, resourceGroupName string, appCollection string, appName string) (result CampaignResult, err error)

Get the Get campaign operation retrieves information about a previously created campaign.

kind is campaign kind. ID is campaign identifier. resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (CampaignsClient) GetByName

func (client CampaignsClient) GetByName(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, name string) (result CampaignResult, err error)

GetByName the Get campaign operation retrieves information about a previously created campaign.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. name is campaign name.

func (CampaignsClient) GetByNamePreparer

func (client CampaignsClient) GetByNamePreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, name string) (*http.Request, error)

GetByNamePreparer prepares the GetByName request.

func (CampaignsClient) GetByNameResponder

func (client CampaignsClient) GetByNameResponder(resp *http.Response) (result CampaignResult, err error)

GetByNameResponder handles the response to the GetByName request. The method always closes the http.Response Body.

func (CampaignsClient) GetByNameSender

func (client CampaignsClient) GetByNameSender(req *http.Request) (*http.Response, error)

GetByNameSender sends the GetByName request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) GetPreparer

func (client CampaignsClient) GetPreparer(kind CampaignKinds, ID int32, resourceGroupName string, appCollection string, appName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (CampaignsClient) GetResponder

func (client CampaignsClient) GetResponder(resp *http.Response) (result CampaignResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (CampaignsClient) GetSender

func (client CampaignsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) GetStatistics

func (client CampaignsClient) GetStatistics(kind CampaignKinds, ID int32, resourceGroupName string, appCollection string, appName string) (result CampaignStatisticsResult, err error)

GetStatistics get all the campaign statistics.

kind is campaign kind. ID is campaign identifier. resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (CampaignsClient) GetStatisticsPreparer

func (client CampaignsClient) GetStatisticsPreparer(kind CampaignKinds, ID int32, resourceGroupName string, appCollection string, appName string) (*http.Request, error)

GetStatisticsPreparer prepares the GetStatistics request.

func (CampaignsClient) GetStatisticsResponder

func (client CampaignsClient) GetStatisticsResponder(resp *http.Response) (result CampaignStatisticsResult, err error)

GetStatisticsResponder handles the response to the GetStatistics request. The method always closes the http.Response Body.

func (CampaignsClient) GetStatisticsSender

func (client CampaignsClient) GetStatisticsSender(req *http.Request) (*http.Response, error)

GetStatisticsSender sends the GetStatistics request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) List

func (client CampaignsClient) List(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, skip *int32, top *int32, filter string, orderby string, search string) (result CampaignsListResult, err error)

List get the list of campaigns.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. skip is control paging of campaigns, start results at the given offset, defaults to 0 (1st page of data). top is control paging of campaigns, number of campaigns to return with each call. It returns all campaigns by default. When specifying $top parameter, the response contains a `nextLink` property describing the path to get the next page if there are more results. filter is filter can be used to restrict the results to campaigns matching a specific state. The syntax is `$filter=state eq 'draft'`. Valid state values are: draft, scheduled, in-progress, and finished. Only the eq operator and the state property are supported. orderby is sort results by an expression which looks like `$orderby=id asc` (this example is actually the default behavior). The syntax is orderby={property} {direction} or just orderby={property}. The available sorting properties are id, name, state, activatedDate, and finishedDate. The available directions are asc (for ascending order) and desc (for descending order). When not specified the asc direction is used. Only one property at a time can be used for sorting. search is restrict results to campaigns matching the optional `search` expression. This currently performs the search based on the name on the campaign only, case insensitive. If the campaign contains the value of the `search` parameter anywhere in the name, it matches.

func (CampaignsClient) ListComplete

func (client CampaignsClient) ListComplete(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, skip *int32, top *int32, filter string, orderby string, search string, cancel <-chan struct{}) (<-chan CampaignListResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (CampaignsClient) ListNextResults

func (client CampaignsClient) ListNextResults(lastResults CampaignsListResult) (result CampaignsListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (CampaignsClient) ListPreparer

func (client CampaignsClient) ListPreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, skip *int32, top *int32, filter string, orderby string, search string) (*http.Request, error)

ListPreparer prepares the List request.

func (CampaignsClient) ListResponder

func (client CampaignsClient) ListResponder(resp *http.Response) (result CampaignsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (CampaignsClient) ListSender

func (client CampaignsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Push

func (client CampaignsClient) Push(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32, parameters CampaignPushParameters) (result CampaignPushResult, err error)

Push push a previously saved campaign (created with Create campaign) to a set of devices.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. ID is campaign identifier. parameters is parameters supplied to the Push Campaign operation.

func (CampaignsClient) PushPreparer

func (client CampaignsClient) PushPreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32, parameters CampaignPushParameters) (*http.Request, error)

PushPreparer prepares the Push request.

func (CampaignsClient) PushResponder

func (client CampaignsClient) PushResponder(resp *http.Response) (result CampaignPushResult, err error)

PushResponder handles the response to the Push request. The method always closes the http.Response Body.

func (CampaignsClient) PushSender

func (client CampaignsClient) PushSender(req *http.Request) (*http.Response, error)

PushSender sends the Push request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Suspend

func (client CampaignsClient) Suspend(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32) (result CampaignStateResult, err error)

Suspend suspend a push campaign previously activated by a call to Activate campaign.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. ID is campaign identifier.

func (CampaignsClient) SuspendPreparer

func (client CampaignsClient) SuspendPreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32) (*http.Request, error)

SuspendPreparer prepares the Suspend request.

func (CampaignsClient) SuspendResponder

func (client CampaignsClient) SuspendResponder(resp *http.Response) (result CampaignStateResult, err error)

SuspendResponder handles the response to the Suspend request. The method always closes the http.Response Body.

func (CampaignsClient) SuspendSender

func (client CampaignsClient) SuspendSender(req *http.Request) (*http.Response, error)

SuspendSender sends the Suspend request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) TestNew

func (client CampaignsClient) TestNew(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, parameters CampaignTestNewParameters) (result CampaignState, err error)

TestNew test a new campaign on a set of devices.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. parameters is parameters supplied to the Test Campaign operation.

func (CampaignsClient) TestNewPreparer

func (client CampaignsClient) TestNewPreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, parameters CampaignTestNewParameters) (*http.Request, error)

TestNewPreparer prepares the TestNew request.

func (CampaignsClient) TestNewResponder

func (client CampaignsClient) TestNewResponder(resp *http.Response) (result CampaignState, err error)

TestNewResponder handles the response to the TestNew request. The method always closes the http.Response Body.

func (CampaignsClient) TestNewSender

func (client CampaignsClient) TestNewSender(req *http.Request) (*http.Response, error)

TestNewSender sends the TestNew request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) TestSaved

func (client CampaignsClient) TestSaved(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32, parameters CampaignTestSavedParameters) (result CampaignStateResult, err error)

TestSaved test an existing campaign (created with Create campaign) on a set of devices.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. kind is campaign kind. ID is campaign identifier. parameters is parameters supplied to the Test Campaign operation.

func (CampaignsClient) TestSavedPreparer

func (client CampaignsClient) TestSavedPreparer(resourceGroupName string, appCollection string, appName string, kind CampaignKinds, ID int32, parameters CampaignTestSavedParameters) (*http.Request, error)

TestSavedPreparer prepares the TestSaved request.

func (CampaignsClient) TestSavedResponder

func (client CampaignsClient) TestSavedResponder(resp *http.Response) (result CampaignStateResult, err error)

TestSavedResponder handles the response to the TestSaved request. The method always closes the http.Response Body.

func (CampaignsClient) TestSavedSender

func (client CampaignsClient) TestSavedSender(req *http.Request) (*http.Response, error)

TestSavedSender sends the TestSaved request. The method will close the http.Response Body if it receives an error.

func (CampaignsClient) Update

func (client CampaignsClient) Update(kind CampaignKinds, ID int32, parameters Campaign, resourceGroupName string, appCollection string, appName string) (result CampaignStateResult, err error)

Update update an existing push campaign (announcement, poll, data push or native push).

kind is campaign kind. ID is campaign identifier. parameters is parameters supplied to the Update Campaign operation. resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (CampaignsClient) UpdatePreparer

func (client CampaignsClient) UpdatePreparer(kind CampaignKinds, ID int32, parameters Campaign, resourceGroupName string, appCollection string, appName string) (*http.Request, error)

UpdatePreparer prepares the Update request.

func (CampaignsClient) UpdateResponder

func (client CampaignsClient) UpdateResponder(resp *http.Response) (result CampaignStateResult, err error)

UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.

func (CampaignsClient) UpdateSender

func (client CampaignsClient) UpdateSender(req *http.Request) (*http.Response, error)

UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.

type CampaignsListResult

type CampaignsListResult struct {
	autorest.Response `json:"-"`
	Value             *[]CampaignListResult `json:"value,omitempty"`
	NextLink          *string               `json:"nextLink,omitempty"`
}

CampaignsListResult is the campaigns list result.

func (CampaignsListResult) CampaignsListResultPreparer

func (client CampaignsListResult) CampaignsListResultPreparer() (*http.Request, error)

CampaignsListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type CarrierCountryCriterion

type CarrierCountryCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

CarrierCountryCriterion is used to target devices based on their carrier country.

func (CarrierCountryCriterion) AsAnnouncementFeedbackCriterion

func (ccc CarrierCountryCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsApplicationVersionCriterion

func (ccc CarrierCountryCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsBooleanTagCriterion

func (ccc CarrierCountryCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsCarrierCountryCriterion

func (ccc CarrierCountryCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsCarrierNameCriterion

func (ccc CarrierCountryCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDatapushFeedbackCriterion

func (ccc CarrierCountryCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDateTagCriterion

func (ccc CarrierCountryCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDeviceManufacturerCriterion

func (ccc CarrierCountryCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDeviceModelCriterion

func (ccc CarrierCountryCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsFirmwareVersionCriterion

func (ccc CarrierCountryCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsGeoFencingCriterion

func (ccc CarrierCountryCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsIntegerTagCriterion

func (ccc CarrierCountryCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsLanguageCriterion

func (ccc CarrierCountryCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsLocationCriterion

func (ccc CarrierCountryCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsNetworkTypeCriterion

func (ccc CarrierCountryCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsPollAnswerFeedbackCriterion

func (ccc CarrierCountryCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsPollFeedbackCriterion

func (ccc CarrierCountryCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsScreenSizeCriterion

func (ccc CarrierCountryCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsSegmentCriterion

func (ccc CarrierCountryCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsStringTagCriterion

func (ccc CarrierCountryCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) MarshalJSON

func (ccc CarrierCountryCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CarrierCountryCriterion.

type CarrierNameCriterion

type CarrierNameCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

CarrierNameCriterion is used to target devices based on their carrier name.

func (CarrierNameCriterion) AsAnnouncementFeedbackCriterion

func (cnc CarrierNameCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsApplicationVersionCriterion

func (cnc CarrierNameCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsBooleanTagCriterion

func (cnc CarrierNameCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsCarrierCountryCriterion

func (cnc CarrierNameCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsCarrierNameCriterion

func (cnc CarrierNameCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDatapushFeedbackCriterion

func (cnc CarrierNameCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDateTagCriterion

func (cnc CarrierNameCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDeviceManufacturerCriterion

func (cnc CarrierNameCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDeviceModelCriterion

func (cnc CarrierNameCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsFirmwareVersionCriterion

func (cnc CarrierNameCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsGeoFencingCriterion

func (cnc CarrierNameCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsIntegerTagCriterion

func (cnc CarrierNameCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsLanguageCriterion

func (cnc CarrierNameCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsLocationCriterion

func (cnc CarrierNameCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsNetworkTypeCriterion

func (cnc CarrierNameCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsPollAnswerFeedbackCriterion

func (cnc CarrierNameCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsPollFeedbackCriterion

func (cnc CarrierNameCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsScreenSizeCriterion

func (cnc CarrierNameCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsSegmentCriterion

func (cnc CarrierNameCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsStringTagCriterion

func (cnc CarrierNameCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) MarshalJSON

func (cnc CarrierNameCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CarrierNameCriterion.

type Criterion

type Criterion interface {
	AsCarrierNameCriterion() (*CarrierNameCriterion, bool)
	AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)
	AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)
	AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)
	AsDeviceModelCriterion() (*DeviceModelCriterion, bool)
	AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)
	AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)
	AsLanguageCriterion() (*LanguageCriterion, bool)
	AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)
	AsLocationCriterion() (*LocationCriterion, bool)
	AsGeoFencingCriterion() (*GeoFencingCriterion, bool)
	AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)
	AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)
	AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)
	AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)
	AsSegmentCriterion() (*SegmentCriterion, bool)
	AsStringTagCriterion() (*StringTagCriterion, bool)
	AsDateTagCriterion() (*DateTagCriterion, bool)
	AsIntegerTagCriterion() (*IntegerTagCriterion, bool)
	AsBooleanTagCriterion() (*BooleanTagCriterion, bool)
}

Criterion is

type DatapushFeedbackCriterion

type DatapushFeedbackCriterion struct {
	Type      Type              `json:"type,omitempty"`
	ContentID *int32            `json:"content-id,omitempty"`
	Action    CampaignFeedbacks `json:"action,omitempty"`
}

DatapushFeedbackCriterion is used to target devices who received a data push.

func (DatapushFeedbackCriterion) AsAnnouncementFeedbackCriterion

func (dfc DatapushFeedbackCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsApplicationVersionCriterion

func (dfc DatapushFeedbackCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsBooleanTagCriterion

func (dfc DatapushFeedbackCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsCarrierCountryCriterion

func (dfc DatapushFeedbackCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsCarrierNameCriterion

func (dfc DatapushFeedbackCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDatapushFeedbackCriterion

func (dfc DatapushFeedbackCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDateTagCriterion

func (dfc DatapushFeedbackCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDeviceManufacturerCriterion

func (dfc DatapushFeedbackCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDeviceModelCriterion

func (dfc DatapushFeedbackCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsFirmwareVersionCriterion

func (dfc DatapushFeedbackCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsGeoFencingCriterion

func (dfc DatapushFeedbackCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsIntegerTagCriterion

func (dfc DatapushFeedbackCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsLanguageCriterion

func (dfc DatapushFeedbackCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsLocationCriterion

func (dfc DatapushFeedbackCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsNetworkTypeCriterion

func (dfc DatapushFeedbackCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsPollAnswerFeedbackCriterion

func (dfc DatapushFeedbackCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsPollFeedbackCriterion

func (dfc DatapushFeedbackCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsScreenSizeCriterion

func (dfc DatapushFeedbackCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsSegmentCriterion

func (dfc DatapushFeedbackCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsStringTagCriterion

func (dfc DatapushFeedbackCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) MarshalJSON

func (dfc DatapushFeedbackCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatapushFeedbackCriterion.

type DateRangeExportTaskParameter

type DateRangeExportTaskParameter struct {
	ContainerURL *string      `json:"containerUrl,omitempty"`
	Description  *string      `json:"description,omitempty"`
	StartDate    *date.Date   `json:"startDate,omitempty"`
	EndDate      *date.Date   `json:"endDate,omitempty"`
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

DateRangeExportTaskParameter is

type DateTagCriterion

type DateTagCriterion struct {
	Type  Type              `json:"type,omitempty"`
	Name  *string           `json:"name,omitempty"`
	Value *date.Date        `json:"value,omitempty"`
	Op    AudienceOperators `json:"op,omitempty"`
}

DateTagCriterion is target devices based on a date tag value.

func (DateTagCriterion) AsAnnouncementFeedbackCriterion

func (dtc DateTagCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsApplicationVersionCriterion

func (dtc DateTagCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsBooleanTagCriterion

func (dtc DateTagCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsCarrierCountryCriterion

func (dtc DateTagCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsCarrierNameCriterion

func (dtc DateTagCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDatapushFeedbackCriterion

func (dtc DateTagCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDateTagCriterion

func (dtc DateTagCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDeviceManufacturerCriterion

func (dtc DateTagCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDeviceModelCriterion

func (dtc DateTagCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsFirmwareVersionCriterion

func (dtc DateTagCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsGeoFencingCriterion

func (dtc DateTagCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsIntegerTagCriterion

func (dtc DateTagCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsLanguageCriterion

func (dtc DateTagCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsLocationCriterion

func (dtc DateTagCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsNetworkTypeCriterion

func (dtc DateTagCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsPollAnswerFeedbackCriterion

func (dtc DateTagCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsPollFeedbackCriterion

func (dtc DateTagCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsScreenSizeCriterion

func (dtc DateTagCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsSegmentCriterion

func (dtc DateTagCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) AsStringTagCriterion

func (dtc DateTagCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for DateTagCriterion.

func (DateTagCriterion) MarshalJSON

func (dtc DateTagCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DateTagCriterion.

type DeliveryTimes

type DeliveryTimes string

DeliveryTimes enumerates the values for delivery times.

const (
	// Any specifies the any state for delivery times.
	Any DeliveryTimes = "any"
	// Background specifies the background state for delivery times.
	Background DeliveryTimes = "background"
	// Session specifies the session state for delivery times.
	Session DeliveryTimes = "session"
)

type Device

type Device struct {
	autorest.Response `json:"-"`
	DeviceID          *string             `json:"deviceId,omitempty"`
	Meta              *DeviceMeta         `json:"meta,omitempty"`
	Info              *DeviceInfo         `json:"info,omitempty"`
	Location          *DeviceLocation     `json:"location,omitempty"`
	AppInfo           *map[string]*string `json:"appInfo,omitempty"`
}

Device is

type DeviceInfo

type DeviceInfo struct {
	PhoneModel             *string `json:"phoneModel,omitempty"`
	PhoneManufacturer      *string `json:"phoneManufacturer,omitempty"`
	FirmwareVersion        *string `json:"firmwareVersion,omitempty"`
	FirmwareName           *string `json:"firmwareName,omitempty"`
	AndroidAPILevel        *int32  `json:"androidAPILevel,omitempty"`
	CarrierCountry         *string `json:"carrierCountry,omitempty"`
	Locale                 *string `json:"locale,omitempty"`
	CarrierName            *string `json:"carrierName,omitempty"`
	NetworkType            *string `json:"networkType,omitempty"`
	NetworkSubtype         *string `json:"networkSubtype,omitempty"`
	ApplicationVersionName *string `json:"applicationVersionName,omitempty"`
	ApplicationVersionCode *int32  `json:"applicationVersionCode,omitempty"`
	TimeZoneOffset         *int32  `json:"timeZoneOffset,omitempty"`
	ServiceVersion         *string `json:"serviceVersion,omitempty"`
}

DeviceInfo is

type DeviceLocation

type DeviceLocation struct {
	Countrycode *string `json:"countrycode,omitempty"`
	Region      *string `json:"region,omitempty"`
	Locality    *string `json:"locality,omitempty"`
}

DeviceLocation is

type DeviceManufacturerCriterion

type DeviceManufacturerCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

DeviceManufacturerCriterion is used to target devices based on the device manufacturer.

func (DeviceManufacturerCriterion) AsAnnouncementFeedbackCriterion

func (dmc DeviceManufacturerCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsApplicationVersionCriterion

func (dmc DeviceManufacturerCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsBooleanTagCriterion

func (dmc DeviceManufacturerCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsCarrierCountryCriterion

func (dmc DeviceManufacturerCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsCarrierNameCriterion

func (dmc DeviceManufacturerCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDatapushFeedbackCriterion

func (dmc DeviceManufacturerCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDateTagCriterion

func (dmc DeviceManufacturerCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDeviceManufacturerCriterion

func (dmc DeviceManufacturerCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDeviceModelCriterion

func (dmc DeviceManufacturerCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsFirmwareVersionCriterion

func (dmc DeviceManufacturerCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsGeoFencingCriterion

func (dmc DeviceManufacturerCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsIntegerTagCriterion

func (dmc DeviceManufacturerCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsLanguageCriterion

func (dmc DeviceManufacturerCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsLocationCriterion

func (dmc DeviceManufacturerCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsNetworkTypeCriterion

func (dmc DeviceManufacturerCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsPollAnswerFeedbackCriterion

func (dmc DeviceManufacturerCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsPollFeedbackCriterion

func (dmc DeviceManufacturerCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsScreenSizeCriterion

func (dmc DeviceManufacturerCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsSegmentCriterion

func (dmc DeviceManufacturerCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsStringTagCriterion

func (dmc DeviceManufacturerCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) MarshalJSON

func (dmc DeviceManufacturerCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceManufacturerCriterion.

type DeviceMeta

type DeviceMeta struct {
	FirstSeen         *int64 `json:"firstSeen,omitempty"`
	LastSeen          *int64 `json:"lastSeen,omitempty"`
	LastInfo          *int64 `json:"lastInfo,omitempty"`
	LastLocation      *int64 `json:"lastLocation,omitempty"`
	NativePushEnabled *bool  `json:"nativePushEnabled,omitempty"`
}

DeviceMeta is

type DeviceModelCriterion

type DeviceModelCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

DeviceModelCriterion is used to target devices based on the device model.

func (DeviceModelCriterion) AsAnnouncementFeedbackCriterion

func (dmc DeviceModelCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsApplicationVersionCriterion

func (dmc DeviceModelCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsBooleanTagCriterion

func (dmc DeviceModelCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsCarrierCountryCriterion

func (dmc DeviceModelCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsCarrierNameCriterion

func (dmc DeviceModelCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDatapushFeedbackCriterion

func (dmc DeviceModelCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDateTagCriterion

func (dmc DeviceModelCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDeviceManufacturerCriterion

func (dmc DeviceModelCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDeviceModelCriterion

func (dmc DeviceModelCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsFirmwareVersionCriterion

func (dmc DeviceModelCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsGeoFencingCriterion

func (dmc DeviceModelCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsIntegerTagCriterion

func (dmc DeviceModelCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsLanguageCriterion

func (dmc DeviceModelCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsLocationCriterion

func (dmc DeviceModelCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsNetworkTypeCriterion

func (dmc DeviceModelCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsPollAnswerFeedbackCriterion

func (dmc DeviceModelCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsPollFeedbackCriterion

func (dmc DeviceModelCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsScreenSizeCriterion

func (dmc DeviceModelCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsSegmentCriterion

func (dmc DeviceModelCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsStringTagCriterion

func (dmc DeviceModelCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) MarshalJSON

func (dmc DeviceModelCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceModelCriterion.

type DeviceQueryResult

type DeviceQueryResult struct {
	DeviceID *string             `json:"deviceId,omitempty"`
	Meta     *DeviceMeta         `json:"meta,omitempty"`
	AppInfo  *map[string]*string `json:"appInfo,omitempty"`
}

DeviceQueryResult is

type DeviceTagsParameters

type DeviceTagsParameters struct {
	Tags         *map[string]map[string]*string `json:"tags,omitempty"`
	DeleteOnNull *bool                          `json:"deleteOnNull,omitempty"`
}

DeviceTagsParameters is

type DeviceTagsResult

type DeviceTagsResult struct {
	autorest.Response `json:"-"`
	InvalidIds        *[]string `json:"invalidIds,omitempty"`
}

DeviceTagsResult is

type DevicesClient

type DevicesClient struct {
	ManagementClient
}

DevicesClient is the microsoft Azure Mobile Engagement REST APIs.

func NewDevicesClient

func NewDevicesClient(subscriptionID string) DevicesClient

NewDevicesClient creates an instance of the DevicesClient client.

func NewDevicesClientWithBaseURI

func NewDevicesClientWithBaseURI(baseURI string, subscriptionID string) DevicesClient

NewDevicesClientWithBaseURI creates an instance of the DevicesClient client.

func (DevicesClient) GetByDeviceID

func (client DevicesClient) GetByDeviceID(resourceGroupName string, appCollection string, appName string, deviceID string) (result Device, err error)

GetByDeviceID get the information associated to a device running an application.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. deviceID is device identifier.

func (DevicesClient) GetByDeviceIDPreparer

func (client DevicesClient) GetByDeviceIDPreparer(resourceGroupName string, appCollection string, appName string, deviceID string) (*http.Request, error)

GetByDeviceIDPreparer prepares the GetByDeviceID request.

func (DevicesClient) GetByDeviceIDResponder

func (client DevicesClient) GetByDeviceIDResponder(resp *http.Response) (result Device, err error)

GetByDeviceIDResponder handles the response to the GetByDeviceID request. The method always closes the http.Response Body.

func (DevicesClient) GetByDeviceIDSender

func (client DevicesClient) GetByDeviceIDSender(req *http.Request) (*http.Response, error)

GetByDeviceIDSender sends the GetByDeviceID request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) GetByUserID

func (client DevicesClient) GetByUserID(resourceGroupName string, appCollection string, appName string, userID string) (result Device, err error)

GetByUserID get the information associated to a device running an application using the user identifier.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. userID is user identifier.

func (DevicesClient) GetByUserIDPreparer

func (client DevicesClient) GetByUserIDPreparer(resourceGroupName string, appCollection string, appName string, userID string) (*http.Request, error)

GetByUserIDPreparer prepares the GetByUserID request.

func (DevicesClient) GetByUserIDResponder

func (client DevicesClient) GetByUserIDResponder(resp *http.Response) (result Device, err error)

GetByUserIDResponder handles the response to the GetByUserID request. The method always closes the http.Response Body.

func (DevicesClient) GetByUserIDSender

func (client DevicesClient) GetByUserIDSender(req *http.Request) (*http.Response, error)

GetByUserIDSender sends the GetByUserID request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) List

func (client DevicesClient) List(resourceGroupName string, appCollection string, appName string, top *int32, selectParameter string, filter string) (result DevicesQueryResult, err error)

List query the information associated to the devices running an application.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. top is number of devices to return with each call. Defaults to 100 and cannot return more. Passing a greater value is ignored. The response contains a `nextLink` property describing the URI path to get the next page of results if not all results could be returned at once. selectParameter is by default all `meta` and `appInfo` properties are returned, this property is used to restrict the output to the desired properties. It also excludes all devices from the output that have none of the selected properties. In other terms, only devices having at least one of the selected property being set is part of the results. Examples: - `$select=appInfo` : select all devices having at least 1 appInfo, return them all and don’t return any meta property. - `$select=meta` : return only meta properties in the output. - `$select=appInfo,meta/firstSeen,meta/lastSeen` : return all `appInfo`, plus meta object containing only firstSeen and lastSeen properties. The format is thus a comma separated list of properties to select. Use `appInfo` to select all appInfo properties, `meta` to select all meta properties. Use `appInfo/{key}` and `meta/{key}` to select specific appInfo and meta properties. filter is filter can be used to reduce the number of results. Filter is a boolean expression that can look like the following examples: * `$filter=deviceId gt 'abcdef0123456789abcdef0123456789'` * `$filter=lastModified le 1447284263690L` * `$filter=(deviceId ge 'abcdef0123456789abcdef0123456789') and (deviceId lt 'bacdef0123456789abcdef0123456789') and (lastModified gt 1447284263690L)` The first example is used automatically for paging when returning the `nextLink` property. The filter expression is a combination of checks on some properties that can be compared to their value. The available operators are: * `gt` : greater than * `ge` : greater than or equals * `lt` : less than * `le` : less than or equals * `and` : to add multiple checks (all checks must pass), optional parentheses can be used. The properties that can be used in the expression are the following: * `deviceId {operator} '{deviceIdValue}'` : a lexicographical comparison is made on the deviceId value, use single quotes for the value. * `lastModified {operator} {number}L` : returns only meta properties or appInfo properties whose last value modification timestamp compared to the specified value is matching (value is milliseconds since January 1st, 1970 UTC). Please note the `L` character after the number of milliseconds, its required when the number of milliseconds exceeds `2^31 - 1` (which is always the case for recent timestamps). Using `lastModified` excludes all devices from the output that have no property matching the timestamp criteria, like `$select`. Please note that the internal value of `lastModified` timestamp for a given property is never part of the results.

func (DevicesClient) ListComplete

func (client DevicesClient) ListComplete(resourceGroupName string, appCollection string, appName string, top *int32, selectParameter string, filter string, cancel <-chan struct{}) (<-chan DeviceQueryResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (DevicesClient) ListNextResults

func (client DevicesClient) ListNextResults(lastResults DevicesQueryResult) (result DevicesQueryResult, err error)

ListNextResults retrieves the next set of results, if any.

func (DevicesClient) ListPreparer

func (client DevicesClient) ListPreparer(resourceGroupName string, appCollection string, appName string, top *int32, selectParameter string, filter string) (*http.Request, error)

ListPreparer prepares the List request.

func (DevicesClient) ListResponder

func (client DevicesClient) ListResponder(resp *http.Response) (result DevicesQueryResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DevicesClient) ListSender

func (client DevicesClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) TagByDeviceID

func (client DevicesClient) TagByDeviceID(resourceGroupName string, appCollection string, appName string, parameters DeviceTagsParameters) (result DeviceTagsResult, err error)

TagByDeviceID update the tags registered for a set of devices running an application. Updates are performed asynchronously, meaning that a few seconds are needed before the modifications appear in the results of the Get device command.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (DevicesClient) TagByDeviceIDPreparer

func (client DevicesClient) TagByDeviceIDPreparer(resourceGroupName string, appCollection string, appName string, parameters DeviceTagsParameters) (*http.Request, error)

TagByDeviceIDPreparer prepares the TagByDeviceID request.

func (DevicesClient) TagByDeviceIDResponder

func (client DevicesClient) TagByDeviceIDResponder(resp *http.Response) (result DeviceTagsResult, err error)

TagByDeviceIDResponder handles the response to the TagByDeviceID request. The method always closes the http.Response Body.

func (DevicesClient) TagByDeviceIDSender

func (client DevicesClient) TagByDeviceIDSender(req *http.Request) (*http.Response, error)

TagByDeviceIDSender sends the TagByDeviceID request. The method will close the http.Response Body if it receives an error.

func (DevicesClient) TagByUserID

func (client DevicesClient) TagByUserID(resourceGroupName string, appCollection string, appName string, parameters DeviceTagsParameters) (result DeviceTagsResult, err error)

TagByUserID update the tags registered for a set of users running an application. Updates are performed asynchronously, meaning that a few seconds are needed before the modifications appear in the results of the Get device command.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (DevicesClient) TagByUserIDPreparer

func (client DevicesClient) TagByUserIDPreparer(resourceGroupName string, appCollection string, appName string, parameters DeviceTagsParameters) (*http.Request, error)

TagByUserIDPreparer prepares the TagByUserID request.

func (DevicesClient) TagByUserIDResponder

func (client DevicesClient) TagByUserIDResponder(resp *http.Response) (result DeviceTagsResult, err error)

TagByUserIDResponder handles the response to the TagByUserID request. The method always closes the http.Response Body.

func (DevicesClient) TagByUserIDSender

func (client DevicesClient) TagByUserIDSender(req *http.Request) (*http.Response, error)

TagByUserIDSender sends the TagByUserID request. The method will close the http.Response Body if it receives an error.

type DevicesQueryResult

type DevicesQueryResult struct {
	autorest.Response `json:"-"`
	Value             *[]DeviceQueryResult `json:"value,omitempty"`
	NextLink          *string              `json:"nextLink,omitempty"`
}

DevicesQueryResult is the campaigns list result.

func (DevicesQueryResult) DevicesQueryResultPreparer

func (client DevicesQueryResult) DevicesQueryResultPreparer() (*http.Request, error)

DevicesQueryResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type EngageActiveUsersFilter

type EngageActiveUsersFilter struct {
	Type      TypeFilter `json:"type,omitempty"`
	Threshold *int32     `json:"threshold,omitempty"`
}

EngageActiveUsersFilter is send only to users who have used the app in the last {threshold} days.

func (EngageActiveUsersFilter) AsAppInfoFilter

func (eauf EngageActiveUsersFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageActiveUsersFilter

func (eauf EngageActiveUsersFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageIdleUsersFilter

func (eauf EngageActiveUsersFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageNewUsersFilter

func (eauf EngageActiveUsersFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageOldUsersFilter

func (eauf EngageActiveUsersFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageSubsetFilter

func (eauf EngageActiveUsersFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsNativePushEnabledFilter

func (eauf EngageActiveUsersFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsPushQuotaFilter

func (eauf EngageActiveUsersFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) MarshalJSON

func (eauf EngageActiveUsersFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngageActiveUsersFilter.

type EngageIdleUsersFilter

type EngageIdleUsersFilter struct {
	Type      TypeFilter `json:"type,omitempty"`
	Threshold *int32     `json:"threshold,omitempty"`
}

EngageIdleUsersFilter is send only to users who haven't used the app in the last {threshold} days.

func (EngageIdleUsersFilter) AsAppInfoFilter

func (eiuf EngageIdleUsersFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageActiveUsersFilter

func (eiuf EngageIdleUsersFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageIdleUsersFilter

func (eiuf EngageIdleUsersFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageNewUsersFilter

func (eiuf EngageIdleUsersFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageOldUsersFilter

func (eiuf EngageIdleUsersFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageSubsetFilter

func (eiuf EngageIdleUsersFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsNativePushEnabledFilter

func (eiuf EngageIdleUsersFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsPushQuotaFilter

func (eiuf EngageIdleUsersFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) MarshalJSON

func (eiuf EngageIdleUsersFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngageIdleUsersFilter.

type EngageNewUsersFilter

type EngageNewUsersFilter struct {
	Type      TypeFilter `json:"type,omitempty"`
	Threshold *int32     `json:"threshold,omitempty"`
}

EngageNewUsersFilter is send only to users whose first app use is less than {threshold} days old.

func (EngageNewUsersFilter) AsAppInfoFilter

func (enuf EngageNewUsersFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageActiveUsersFilter

func (enuf EngageNewUsersFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageIdleUsersFilter

func (enuf EngageNewUsersFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageNewUsersFilter

func (enuf EngageNewUsersFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageOldUsersFilter

func (enuf EngageNewUsersFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageSubsetFilter

func (enuf EngageNewUsersFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsNativePushEnabledFilter

func (enuf EngageNewUsersFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsPushQuotaFilter

func (enuf EngageNewUsersFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) MarshalJSON

func (enuf EngageNewUsersFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngageNewUsersFilter.

type EngageOldUsersFilter

type EngageOldUsersFilter struct {
	Type      TypeFilter `json:"type,omitempty"`
	Threshold *int32     `json:"threshold,omitempty"`
}

EngageOldUsersFilter is send only to users whose first app use is more than {threshold} days old.

func (EngageOldUsersFilter) AsAppInfoFilter

func (eouf EngageOldUsersFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageActiveUsersFilter

func (eouf EngageOldUsersFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageIdleUsersFilter

func (eouf EngageOldUsersFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageNewUsersFilter

func (eouf EngageOldUsersFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageOldUsersFilter

func (eouf EngageOldUsersFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageSubsetFilter

func (eouf EngageOldUsersFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsNativePushEnabledFilter

func (eouf EngageOldUsersFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsPushQuotaFilter

func (eouf EngageOldUsersFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) MarshalJSON

func (eouf EngageOldUsersFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngageOldUsersFilter.

type EngageSubsetFilter

type EngageSubsetFilter struct {
	Type TypeFilter `json:"type,omitempty"`
	Max  *int32     `json:"max,omitempty"`
}

EngageSubsetFilter is send only to a maximum of max users.

func (EngageSubsetFilter) AsAppInfoFilter

func (esf EngageSubsetFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageActiveUsersFilter

func (esf EngageSubsetFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageIdleUsersFilter

func (esf EngageSubsetFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageNewUsersFilter

func (esf EngageSubsetFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageOldUsersFilter

func (esf EngageSubsetFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageSubsetFilter

func (esf EngageSubsetFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsNativePushEnabledFilter

func (esf EngageSubsetFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsPushQuotaFilter

func (esf EngageSubsetFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) MarshalJSON

func (esf EngageSubsetFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for EngageSubsetFilter.

type ExportFormat

type ExportFormat string

ExportFormat enumerates the values for export format.

const (
	// CsvBlob specifies the csv blob state for export format.
	CsvBlob ExportFormat = "CsvBlob"
	// JSONBlob specifies the json blob state for export format.
	JSONBlob ExportFormat = "JsonBlob"
)

type ExportOptions

type ExportOptions struct {
	ExportUserID *bool `json:"exportUserId,omitempty"`
}

ExportOptions is options to control export generation.

type ExportState

type ExportState string

ExportState enumerates the values for export state.

const (
	// ExportStateFailed specifies the export state failed state for export state.
	ExportStateFailed ExportState = "Failed"
	// ExportStateQueued specifies the export state queued state for export state.
	ExportStateQueued ExportState = "Queued"
	// ExportStateStarted specifies the export state started state for export state.
	ExportStateStarted ExportState = "Started"
	// ExportStateSucceeded specifies the export state succeeded state for export state.
	ExportStateSucceeded ExportState = "Succeeded"
)

type ExportTaskListResult

type ExportTaskListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ExportTaskResult `json:"value,omitempty"`
	NextLink          *string             `json:"nextLink,omitempty"`
}

ExportTaskListResult is gets a paged list of ExportTasks.

func (ExportTaskListResult) ExportTaskListResultPreparer

func (client ExportTaskListResult) ExportTaskListResultPreparer() (*http.Request, error)

ExportTaskListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ExportTaskParameter

type ExportTaskParameter struct {
	ContainerURL *string      `json:"containerUrl,omitempty"`
	Description  *string      `json:"description,omitempty"`
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

ExportTaskParameter is

type ExportTaskResult

type ExportTaskResult struct {
	autorest.Response `json:"-"`
	ID                *string     `json:"id,omitempty"`
	Description       *string     `json:"description,omitempty"`
	State             ExportState `json:"state,omitempty"`
	DateCreated       *date.Time  `json:"dateCreated,omitempty"`
	DateCompleted     *date.Time  `json:"dateCompleted,omitempty"`
	ExportType        ExportType  `json:"exportType,omitempty"`
	ErrorDetails      *string     `json:"errorDetails,omitempty"`
}

ExportTaskResult is

type ExportTasksClient

type ExportTasksClient struct {
	ManagementClient
}

ExportTasksClient is the microsoft Azure Mobile Engagement REST APIs.

func NewExportTasksClient

func NewExportTasksClient(subscriptionID string) ExportTasksClient

NewExportTasksClient creates an instance of the ExportTasksClient client.

func NewExportTasksClientWithBaseURI

func NewExportTasksClientWithBaseURI(baseURI string, subscriptionID string) ExportTasksClient

NewExportTasksClientWithBaseURI creates an instance of the ExportTasksClient client.

func (ExportTasksClient) CreateActivitiesTask

func (client ExportTasksClient) CreateActivitiesTask(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (result ExportTaskResult, err error)

CreateActivitiesTask creates a task to export activities.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateActivitiesTaskPreparer

func (client ExportTasksClient) CreateActivitiesTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (*http.Request, error)

CreateActivitiesTaskPreparer prepares the CreateActivitiesTask request.

func (ExportTasksClient) CreateActivitiesTaskResponder

func (client ExportTasksClient) CreateActivitiesTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateActivitiesTaskResponder handles the response to the CreateActivitiesTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateActivitiesTaskSender

func (client ExportTasksClient) CreateActivitiesTaskSender(req *http.Request) (*http.Response, error)

CreateActivitiesTaskSender sends the CreateActivitiesTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateCrashesTask

func (client ExportTasksClient) CreateCrashesTask(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (result ExportTaskResult, err error)

CreateCrashesTask creates a task to export crashes.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateCrashesTaskPreparer

func (client ExportTasksClient) CreateCrashesTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (*http.Request, error)

CreateCrashesTaskPreparer prepares the CreateCrashesTask request.

func (ExportTasksClient) CreateCrashesTaskResponder

func (client ExportTasksClient) CreateCrashesTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateCrashesTaskResponder handles the response to the CreateCrashesTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateCrashesTaskSender

func (client ExportTasksClient) CreateCrashesTaskSender(req *http.Request) (*http.Response, error)

CreateCrashesTaskSender sends the CreateCrashesTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateErrorsTask

func (client ExportTasksClient) CreateErrorsTask(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (result ExportTaskResult, err error)

CreateErrorsTask creates a task to export errors.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateErrorsTaskPreparer

func (client ExportTasksClient) CreateErrorsTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (*http.Request, error)

CreateErrorsTaskPreparer prepares the CreateErrorsTask request.

func (ExportTasksClient) CreateErrorsTaskResponder

func (client ExportTasksClient) CreateErrorsTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateErrorsTaskResponder handles the response to the CreateErrorsTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateErrorsTaskSender

func (client ExportTasksClient) CreateErrorsTaskSender(req *http.Request) (*http.Response, error)

CreateErrorsTaskSender sends the CreateErrorsTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateEventsTask

func (client ExportTasksClient) CreateEventsTask(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (result ExportTaskResult, err error)

CreateEventsTask creates a task to export events.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateEventsTaskPreparer

func (client ExportTasksClient) CreateEventsTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (*http.Request, error)

CreateEventsTaskPreparer prepares the CreateEventsTask request.

func (ExportTasksClient) CreateEventsTaskResponder

func (client ExportTasksClient) CreateEventsTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateEventsTaskResponder handles the response to the CreateEventsTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateEventsTaskSender

func (client ExportTasksClient) CreateEventsTaskSender(req *http.Request) (*http.Response, error)

CreateEventsTaskSender sends the CreateEventsTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateFeedbackTaskByCampaign

func (client ExportTasksClient) CreateFeedbackTaskByCampaign(resourceGroupName string, appCollection string, appName string, parameters FeedbackByCampaignParameter) (result ExportTaskResult, err error)

CreateFeedbackTaskByCampaign creates a task to export push campaign data for a set of campaigns.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateFeedbackTaskByCampaignPreparer

func (client ExportTasksClient) CreateFeedbackTaskByCampaignPreparer(resourceGroupName string, appCollection string, appName string, parameters FeedbackByCampaignParameter) (*http.Request, error)

CreateFeedbackTaskByCampaignPreparer prepares the CreateFeedbackTaskByCampaign request.

func (ExportTasksClient) CreateFeedbackTaskByCampaignResponder

func (client ExportTasksClient) CreateFeedbackTaskByCampaignResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateFeedbackTaskByCampaignResponder handles the response to the CreateFeedbackTaskByCampaign request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateFeedbackTaskByCampaignSender

func (client ExportTasksClient) CreateFeedbackTaskByCampaignSender(req *http.Request) (*http.Response, error)

CreateFeedbackTaskByCampaignSender sends the CreateFeedbackTaskByCampaign request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateFeedbackTaskByDateRange

func (client ExportTasksClient) CreateFeedbackTaskByDateRange(resourceGroupName string, appCollection string, appName string, parameters FeedbackByDateRangeParameter) (result ExportTaskResult, err error)

CreateFeedbackTaskByDateRange creates a task to export push campaign data for a date range.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateFeedbackTaskByDateRangePreparer

func (client ExportTasksClient) CreateFeedbackTaskByDateRangePreparer(resourceGroupName string, appCollection string, appName string, parameters FeedbackByDateRangeParameter) (*http.Request, error)

CreateFeedbackTaskByDateRangePreparer prepares the CreateFeedbackTaskByDateRange request.

func (ExportTasksClient) CreateFeedbackTaskByDateRangeResponder

func (client ExportTasksClient) CreateFeedbackTaskByDateRangeResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateFeedbackTaskByDateRangeResponder handles the response to the CreateFeedbackTaskByDateRange request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateFeedbackTaskByDateRangeSender

func (client ExportTasksClient) CreateFeedbackTaskByDateRangeSender(req *http.Request) (*http.Response, error)

CreateFeedbackTaskByDateRangeSender sends the CreateFeedbackTaskByDateRange request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateJobsTask

func (client ExportTasksClient) CreateJobsTask(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (result ExportTaskResult, err error)

CreateJobsTask creates a task to export jobs.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateJobsTaskPreparer

func (client ExportTasksClient) CreateJobsTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (*http.Request, error)

CreateJobsTaskPreparer prepares the CreateJobsTask request.

func (ExportTasksClient) CreateJobsTaskResponder

func (client ExportTasksClient) CreateJobsTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateJobsTaskResponder handles the response to the CreateJobsTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateJobsTaskSender

func (client ExportTasksClient) CreateJobsTaskSender(req *http.Request) (*http.Response, error)

CreateJobsTaskSender sends the CreateJobsTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateSessionsTask

func (client ExportTasksClient) CreateSessionsTask(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (result ExportTaskResult, err error)

CreateSessionsTask creates a task to export sessions.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateSessionsTaskPreparer

func (client ExportTasksClient) CreateSessionsTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters DateRangeExportTaskParameter) (*http.Request, error)

CreateSessionsTaskPreparer prepares the CreateSessionsTask request.

func (ExportTasksClient) CreateSessionsTaskResponder

func (client ExportTasksClient) CreateSessionsTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateSessionsTaskResponder handles the response to the CreateSessionsTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateSessionsTaskSender

func (client ExportTasksClient) CreateSessionsTaskSender(req *http.Request) (*http.Response, error)

CreateSessionsTaskSender sends the CreateSessionsTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateTagsTask

func (client ExportTasksClient) CreateTagsTask(resourceGroupName string, appCollection string, appName string, parameters ExportTaskParameter) (result ExportTaskResult, err error)

CreateTagsTask creates a task to export tags.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateTagsTaskPreparer

func (client ExportTasksClient) CreateTagsTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters ExportTaskParameter) (*http.Request, error)

CreateTagsTaskPreparer prepares the CreateTagsTask request.

func (ExportTasksClient) CreateTagsTaskResponder

func (client ExportTasksClient) CreateTagsTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateTagsTaskResponder handles the response to the CreateTagsTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateTagsTaskSender

func (client ExportTasksClient) CreateTagsTaskSender(req *http.Request) (*http.Response, error)

CreateTagsTaskSender sends the CreateTagsTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) CreateTokensTask

func (client ExportTasksClient) CreateTokensTask(resourceGroupName string, appCollection string, appName string, parameters ExportTaskParameter) (result ExportTaskResult, err error)

CreateTokensTask creates a task to export tags.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ExportTasksClient) CreateTokensTaskPreparer

func (client ExportTasksClient) CreateTokensTaskPreparer(resourceGroupName string, appCollection string, appName string, parameters ExportTaskParameter) (*http.Request, error)

CreateTokensTaskPreparer prepares the CreateTokensTask request.

func (ExportTasksClient) CreateTokensTaskResponder

func (client ExportTasksClient) CreateTokensTaskResponder(resp *http.Response) (result ExportTaskResult, err error)

CreateTokensTaskResponder handles the response to the CreateTokensTask request. The method always closes the http.Response Body.

func (ExportTasksClient) CreateTokensTaskSender

func (client ExportTasksClient) CreateTokensTaskSender(req *http.Request) (*http.Response, error)

CreateTokensTaskSender sends the CreateTokensTask request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) Get

func (client ExportTasksClient) Get(resourceGroupName string, appCollection string, appName string, ID string) (result ExportTaskResult, err error)

Get retrieves information about a previously created export task.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. ID is export task identifier.

func (ExportTasksClient) GetPreparer

func (client ExportTasksClient) GetPreparer(resourceGroupName string, appCollection string, appName string, ID string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ExportTasksClient) GetResponder

func (client ExportTasksClient) GetResponder(resp *http.Response) (result ExportTaskResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ExportTasksClient) GetSender

func (client ExportTasksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ExportTasksClient) List

func (client ExportTasksClient) List(resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (result ExportTaskListResult, err error)

List get the list of export tasks.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. skip is control paging of export tasks, start results at the given offset, defaults to 0 (1st page of data). top is control paging of export tasks, number of export tasks to return with each call. By default, it returns all export tasks with a default paging of 20. The response contains a `nextLink` property describing the path to get the next page if there are more results. The maximum paging limit for $top is 40. orderby is sort results by an expression which looks like `$orderby=taskId asc` (default when not specified). The syntax is orderby={property} {direction} or just orderby={property}. Properties that can be specified for sorting: taskId, errorDetails, dateCreated, taskStatus, and dateCreated. The available directions are asc (for ascending order) and desc (for descending order). When not specified the asc direction is used. Only one orderby property can be specified.

func (ExportTasksClient) ListComplete

func (client ExportTasksClient) ListComplete(resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string, cancel <-chan struct{}) (<-chan ExportTaskResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (ExportTasksClient) ListNextResults

func (client ExportTasksClient) ListNextResults(lastResults ExportTaskListResult) (result ExportTaskListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ExportTasksClient) ListPreparer

func (client ExportTasksClient) ListPreparer(resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (ExportTasksClient) ListResponder

func (client ExportTasksClient) ListResponder(resp *http.Response) (result ExportTaskListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ExportTasksClient) ListSender

func (client ExportTasksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type ExportType

type ExportType string

ExportType enumerates the values for export type.

const (
	// ExportTypeActivity specifies the export type activity state for export type.
	ExportTypeActivity ExportType = "Activity"
	// ExportTypeCrash specifies the export type crash state for export type.
	ExportTypeCrash ExportType = "Crash"
	// ExportTypeError specifies the export type error state for export type.
	ExportTypeError ExportType = "Error"
	// ExportTypeEvent specifies the export type event state for export type.
	ExportTypeEvent ExportType = "Event"
	// ExportTypeJob specifies the export type job state for export type.
	ExportTypeJob ExportType = "Job"
	// ExportTypePush specifies the export type push state for export type.
	ExportTypePush ExportType = "Push"
	// ExportTypeSession specifies the export type session state for export type.
	ExportTypeSession ExportType = "Session"
	// ExportTypeTag specifies the export type tag state for export type.
	ExportTypeTag ExportType = "Tag"
	// ExportTypeToken specifies the export type token state for export type.
	ExportTypeToken ExportType = "Token"
)

type FeedbackByCampaignParameter

type FeedbackByCampaignParameter struct {
	ContainerURL *string      `json:"containerUrl,omitempty"`
	Description  *string      `json:"description,omitempty"`
	CampaignType CampaignType `json:"campaignType,omitempty"`
	CampaignIds  *[]int32     `json:"campaignIds,omitempty"`
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

FeedbackByCampaignParameter is

type FeedbackByDateRangeParameter

type FeedbackByDateRangeParameter struct {
	ContainerURL        *string      `json:"containerUrl,omitempty"`
	Description         *string      `json:"description,omitempty"`
	CampaignType        CampaignType `json:"campaignType,omitempty"`
	CampaignWindowStart *date.Time   `json:"campaignWindowStart,omitempty"`
	CampaignWindowEnd   *date.Time   `json:"campaignWindowEnd,omitempty"`
	ExportFormat        ExportFormat `json:"exportFormat,omitempty"`
}

FeedbackByDateRangeParameter is

type Filter

type Filter interface {
	AsEngageSubsetFilter() (*EngageSubsetFilter, bool)
	AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)
	AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)
	AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)
	AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)
	AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)
	AsPushQuotaFilter() (*PushQuotaFilter, bool)
	AsAppInfoFilter() (*AppInfoFilter, bool)
}

Filter is

type FirmwareVersionCriterion

type FirmwareVersionCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

FirmwareVersionCriterion is used to target devices based on their firmware version.

func (FirmwareVersionCriterion) AsAnnouncementFeedbackCriterion

func (fvc FirmwareVersionCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsApplicationVersionCriterion

func (fvc FirmwareVersionCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsBooleanTagCriterion

func (fvc FirmwareVersionCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsCarrierCountryCriterion

func (fvc FirmwareVersionCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsCarrierNameCriterion

func (fvc FirmwareVersionCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDatapushFeedbackCriterion

func (fvc FirmwareVersionCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDateTagCriterion

func (fvc FirmwareVersionCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDeviceManufacturerCriterion

func (fvc FirmwareVersionCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDeviceModelCriterion

func (fvc FirmwareVersionCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsFirmwareVersionCriterion

func (fvc FirmwareVersionCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsGeoFencingCriterion

func (fvc FirmwareVersionCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsIntegerTagCriterion

func (fvc FirmwareVersionCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsLanguageCriterion

func (fvc FirmwareVersionCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsLocationCriterion

func (fvc FirmwareVersionCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsNetworkTypeCriterion

func (fvc FirmwareVersionCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsPollAnswerFeedbackCriterion

func (fvc FirmwareVersionCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsPollFeedbackCriterion

func (fvc FirmwareVersionCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsScreenSizeCriterion

func (fvc FirmwareVersionCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsSegmentCriterion

func (fvc FirmwareVersionCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsStringTagCriterion

func (fvc FirmwareVersionCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) MarshalJSON

func (fvc FirmwareVersionCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for FirmwareVersionCriterion.

type GeoFencingCriterion

type GeoFencingCriterion struct {
	Type       Type     `json:"type,omitempty"`
	Lat        *float64 `json:"lat,omitempty"`
	Lon        *float64 `json:"lon,omitempty"`
	Radius     *int32   `json:"radius,omitempty"`
	Expiration *int32   `json:"expiration,omitempty"`
}

GeoFencingCriterion is used to target devices based on a specific region. A center point (defined by a latitude and longitude) and a radius form the boundary for the region. This criterion will be met when the user crosses the boundaries of the region.

func (GeoFencingCriterion) AsAnnouncementFeedbackCriterion

func (gfc GeoFencingCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsApplicationVersionCriterion

func (gfc GeoFencingCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsBooleanTagCriterion

func (gfc GeoFencingCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsCarrierCountryCriterion

func (gfc GeoFencingCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsCarrierNameCriterion

func (gfc GeoFencingCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDatapushFeedbackCriterion

func (gfc GeoFencingCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDateTagCriterion

func (gfc GeoFencingCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDeviceManufacturerCriterion

func (gfc GeoFencingCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDeviceModelCriterion

func (gfc GeoFencingCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsFirmwareVersionCriterion

func (gfc GeoFencingCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsGeoFencingCriterion

func (gfc GeoFencingCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsIntegerTagCriterion

func (gfc GeoFencingCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsLanguageCriterion

func (gfc GeoFencingCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsLocationCriterion

func (gfc GeoFencingCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsNetworkTypeCriterion

func (gfc GeoFencingCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsPollAnswerFeedbackCriterion

func (gfc GeoFencingCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsPollFeedbackCriterion

func (gfc GeoFencingCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsScreenSizeCriterion

func (gfc GeoFencingCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsSegmentCriterion

func (gfc GeoFencingCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsStringTagCriterion

func (gfc GeoFencingCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) MarshalJSON

func (gfc GeoFencingCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GeoFencingCriterion.

type ImportTask

type ImportTask struct {
	StorageURL *string `json:"storageUrl,omitempty"`
}

ImportTask is

type ImportTaskListResult

type ImportTaskListResult struct {
	autorest.Response `json:"-"`
	Value             *[]ImportTaskResult `json:"value,omitempty"`
	NextLink          *string             `json:"nextLink,omitempty"`
}

ImportTaskListResult is gets a paged list of import tasks.

func (ImportTaskListResult) ImportTaskListResultPreparer

func (client ImportTaskListResult) ImportTaskListResultPreparer() (*http.Request, error)

ImportTaskListResultPreparer prepares a request to retrieve the next set of results. It returns nil if no more results exist.

type ImportTaskResult

type ImportTaskResult struct {
	autorest.Response `json:"-"`
	StorageURL        *string    `json:"storageUrl,omitempty"`
	ID                *string    `json:"id,omitempty"`
	State             JobStates  `json:"state,omitempty"`
	DateCreated       *date.Time `json:"dateCreated,omitempty"`
	DateCompleted     *date.Time `json:"dateCompleted,omitempty"`
	ErrorDetails      *string    `json:"errorDetails,omitempty"`
}

ImportTaskResult is

type ImportTasksClient

type ImportTasksClient struct {
	ManagementClient
}

ImportTasksClient is the microsoft Azure Mobile Engagement REST APIs.

func NewImportTasksClient

func NewImportTasksClient(subscriptionID string) ImportTasksClient

NewImportTasksClient creates an instance of the ImportTasksClient client.

func NewImportTasksClientWithBaseURI

func NewImportTasksClientWithBaseURI(baseURI string, subscriptionID string) ImportTasksClient

NewImportTasksClientWithBaseURI creates an instance of the ImportTasksClient client.

func (ImportTasksClient) Create

func (client ImportTasksClient) Create(resourceGroupName string, appCollection string, appName string, parameters ImportTask) (result ImportTaskResult, err error)

Create creates a job to import the specified data to a storageUrl.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ImportTasksClient) CreatePreparer

func (client ImportTasksClient) CreatePreparer(resourceGroupName string, appCollection string, appName string, parameters ImportTask) (*http.Request, error)

CreatePreparer prepares the Create request.

func (ImportTasksClient) CreateResponder

func (client ImportTasksClient) CreateResponder(resp *http.Response) (result ImportTaskResult, err error)

CreateResponder handles the response to the Create request. The method always closes the http.Response Body.

func (ImportTasksClient) CreateSender

func (client ImportTasksClient) CreateSender(req *http.Request) (*http.Response, error)

CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.

func (ImportTasksClient) Get

func (client ImportTasksClient) Get(ID string, resourceGroupName string, appCollection string, appName string) (result ImportTaskResult, err error)

Get the Get import job operation retrieves information about a previously created import job.

ID is import job identifier. resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name.

func (ImportTasksClient) GetPreparer

func (client ImportTasksClient) GetPreparer(ID string, resourceGroupName string, appCollection string, appName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (ImportTasksClient) GetResponder

func (client ImportTasksClient) GetResponder(resp *http.Response) (result ImportTaskResult, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (ImportTasksClient) GetSender

func (client ImportTasksClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (ImportTasksClient) List

func (client ImportTasksClient) List(resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (result ImportTaskListResult, err error)

List get the list of import jobs.

resourceGroupName is the name of the resource group. appCollection is application collection. appName is application resource name. skip is control paging of import jobs, start results at the given offset, defaults to 0 (1st page of data). top is control paging of import jobs, number of import jobs to return with each call. By default, it returns all import jobs with a default paging of 20. The response contains a `nextLink` property describing the path to get the next page if there are more results. The maximum paging limit for $top is 40. orderby is sort results by an expression which looks like `$orderby=jobId asc` (default when not specified). The syntax is orderby={property} {direction} or just orderby={property}. Properties that can be specified for sorting: jobId, errorDetails, dateCreated, jobStatus, and dateCreated. The available directions are asc (for ascending order) and desc (for descending order). When not specified the asc direction is used. Only one orderby property can be specified.

func (ImportTasksClient) ListComplete

func (client ImportTasksClient) ListComplete(resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string, cancel <-chan struct{}) (<-chan ImportTaskResult, <-chan error)

ListComplete gets all elements from the list without paging.

func (ImportTasksClient) ListNextResults

func (client ImportTasksClient) ListNextResults(lastResults ImportTaskListResult) (result ImportTaskListResult, err error)

ListNextResults retrieves the next set of results, if any.

func (ImportTasksClient) ListPreparer

func (client ImportTasksClient) ListPreparer(resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (*http.Request, error)

ListPreparer prepares the List request.

func (ImportTasksClient) ListResponder

func (client ImportTasksClient) ListResponder(resp *http.Response) (result ImportTaskListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (ImportTasksClient) ListSender

func (client ImportTasksClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type IntegerTagCriterion

type IntegerTagCriterion struct {
	Type  Type              `json:"type,omitempty"`
	Name  *string           `json:"name,omitempty"`
	Value *int32            `json:"value,omitempty"`
	Op    AudienceOperators `json:"op,omitempty"`
}

IntegerTagCriterion is target devices based on an integer tag value.

func (IntegerTagCriterion) AsAnnouncementFeedbackCriterion

func (itc IntegerTagCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsApplicationVersionCriterion

func (itc IntegerTagCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsBooleanTagCriterion

func (itc IntegerTagCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsCarrierCountryCriterion

func (itc IntegerTagCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsCarrierNameCriterion

func (itc IntegerTagCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDatapushFeedbackCriterion

func (itc IntegerTagCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDateTagCriterion

func (itc IntegerTagCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDeviceManufacturerCriterion

func (itc IntegerTagCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDeviceModelCriterion

func (itc IntegerTagCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsFirmwareVersionCriterion

func (itc IntegerTagCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsGeoFencingCriterion

func (itc IntegerTagCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsIntegerTagCriterion

func (itc IntegerTagCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsLanguageCriterion

func (itc IntegerTagCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsLocationCriterion

func (itc IntegerTagCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsNetworkTypeCriterion

func (itc IntegerTagCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsPollAnswerFeedbackCriterion

func (itc IntegerTagCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsPollFeedbackCriterion

func (itc IntegerTagCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsScreenSizeCriterion

func (itc IntegerTagCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsSegmentCriterion

func (itc IntegerTagCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsStringTagCriterion

func (itc IntegerTagCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) MarshalJSON

func (itc IntegerTagCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for IntegerTagCriterion.

type JobStates

type JobStates string

JobStates enumerates the values for job states.

const (
	// JobStatesFailed specifies the job states failed state for job states.
	JobStatesFailed JobStates = "Failed"
	// JobStatesQueued specifies the job states queued state for job states.
	JobStatesQueued JobStates = "Queued"
	// JobStatesStarted specifies the job states started state for job states.
	JobStatesStarted JobStates = "Started"
	// JobStatesSucceeded specifies the job states succeeded state for job states.
	JobStatesSucceeded JobStates = "Succeeded"
)

type LanguageCriterion

type LanguageCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

LanguageCriterion is used to target devices based on the language of their device.

func (LanguageCriterion) AsAnnouncementFeedbackCriterion

func (lc LanguageCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsApplicationVersionCriterion

func (lc LanguageCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsBooleanTagCriterion

func (lc LanguageCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsCarrierCountryCriterion

func (lc LanguageCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsCarrierNameCriterion

func (lc LanguageCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDatapushFeedbackCriterion

func (lc LanguageCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDateTagCriterion

func (lc LanguageCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDeviceManufacturerCriterion

func (lc LanguageCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDeviceModelCriterion

func (lc LanguageCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsFirmwareVersionCriterion

func (lc LanguageCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsGeoFencingCriterion

func (lc LanguageCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsIntegerTagCriterion

func (lc LanguageCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsLanguageCriterion

func (lc LanguageCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsLocationCriterion

func (lc LanguageCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsNetworkTypeCriterion

func (lc LanguageCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsPollAnswerFeedbackCriterion

func (lc LanguageCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsPollFeedbackCriterion

func (lc LanguageCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsScreenSizeCriterion

func (lc LanguageCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsSegmentCriterion

func (lc LanguageCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) AsStringTagCriterion

func (lc LanguageCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for LanguageCriterion.

func (LanguageCriterion) MarshalJSON

func (lc LanguageCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LanguageCriterion.

type LocationCriterion

type LocationCriterion struct {
	Type     Type    `json:"type,omitempty"`
	Country  *string `json:"country,omitempty"`
	Region   *string `json:"region,omitempty"`
	Locality *string `json:"locality,omitempty"`
}

LocationCriterion is used to target devices based on their last know area.

func (LocationCriterion) AsAnnouncementFeedbackCriterion

func (lc LocationCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsApplicationVersionCriterion

func (lc LocationCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsBooleanTagCriterion

func (lc LocationCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsCarrierCountryCriterion

func (lc LocationCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsCarrierNameCriterion

func (lc LocationCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsDatapushFeedbackCriterion

func (lc LocationCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsDateTagCriterion

func (lc LocationCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsDeviceManufacturerCriterion

func (lc LocationCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsDeviceModelCriterion

func (lc LocationCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsFirmwareVersionCriterion

func (lc LocationCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsGeoFencingCriterion

func (lc LocationCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsIntegerTagCriterion

func (lc LocationCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsLanguageCriterion

func (lc LocationCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsLocationCriterion

func (lc LocationCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsNetworkTypeCriterion

func (lc LocationCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsPollAnswerFeedbackCriterion

func (lc LocationCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsPollFeedbackCriterion

func (lc LocationCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsScreenSizeCriterion

func (lc LocationCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsSegmentCriterion

func (lc LocationCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) AsStringTagCriterion

func (lc LocationCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for LocationCriterion.

func (LocationCriterion) MarshalJSON

func (lc LocationCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for LocationCriterion.

type ManagementClient

type ManagementClient struct {
	autorest.Client
	BaseURI        string
	SubscriptionID string
}

ManagementClient is the base client for Mobileengagement.

func New

func New(subscriptionID string) ManagementClient

New creates an instance of the ManagementClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) ManagementClient

NewWithBaseURI creates an instance of the ManagementClient client.

type NativePushEnabledFilter

type NativePushEnabledFilter struct {
	Type TypeFilter `json:"type,omitempty"`
}

NativePushEnabledFilter is engage only users with native push enabled.

func (NativePushEnabledFilter) AsAppInfoFilter

func (npef NativePushEnabledFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageActiveUsersFilter

func (npef NativePushEnabledFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageIdleUsersFilter

func (npef NativePushEnabledFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageNewUsersFilter

func (npef NativePushEnabledFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageOldUsersFilter

func (npef NativePushEnabledFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageSubsetFilter

func (npef NativePushEnabledFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsNativePushEnabledFilter

func (npef NativePushEnabledFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsPushQuotaFilter

func (npef NativePushEnabledFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) MarshalJSON

func (npef NativePushEnabledFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NativePushEnabledFilter.

type NetworkTypeCriterion

type NetworkTypeCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

NetworkTypeCriterion is used to target devices based their network type.

func (NetworkTypeCriterion) AsAnnouncementFeedbackCriterion

func (ntc NetworkTypeCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsApplicationVersionCriterion

func (ntc NetworkTypeCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsBooleanTagCriterion

func (ntc NetworkTypeCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsCarrierCountryCriterion

func (ntc NetworkTypeCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsCarrierNameCriterion

func (ntc NetworkTypeCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDatapushFeedbackCriterion

func (ntc NetworkTypeCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDateTagCriterion

func (ntc NetworkTypeCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDeviceManufacturerCriterion

func (ntc NetworkTypeCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDeviceModelCriterion

func (ntc NetworkTypeCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsFirmwareVersionCriterion

func (ntc NetworkTypeCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsGeoFencingCriterion

func (ntc NetworkTypeCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsIntegerTagCriterion

func (ntc NetworkTypeCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsLanguageCriterion

func (ntc NetworkTypeCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsLocationCriterion

func (ntc NetworkTypeCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsNetworkTypeCriterion

func (ntc NetworkTypeCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsPollAnswerFeedbackCriterion

func (ntc NetworkTypeCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsPollFeedbackCriterion

func (ntc NetworkTypeCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsScreenSizeCriterion

func (ntc NetworkTypeCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsSegmentCriterion

func (ntc NetworkTypeCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsStringTagCriterion

func (ntc NetworkTypeCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) MarshalJSON

func (ntc NetworkTypeCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for NetworkTypeCriterion.

type NotificationOptions

type NotificationOptions struct {
	BigText    *string `json:"bigText,omitempty"`
	BigPicture *string `json:"bigPicture,omitempty"`
	Sound      *string `json:"sound,omitempty"`
	ActionText *string `json:"actionText,omitempty"`
}

NotificationOptions is

type NotificationTypes

type NotificationTypes string

NotificationTypes enumerates the values for notification types.

const (
	// Popup specifies the popup state for notification types.
	Popup NotificationTypes = "popup"
	// System specifies the system state for notification types.
	System NotificationTypes = "system"
)

type PollAnswerFeedbackCriterion

type PollAnswerFeedbackCriterion struct {
	Type      Type   `json:"type,omitempty"`
	ContentID *int32 `json:"content-id,omitempty"`
	ChoiceID  *int32 `json:"choice-id,omitempty"`
}

PollAnswerFeedbackCriterion is used to target devices who answered X to a given question.

func (PollAnswerFeedbackCriterion) AsAnnouncementFeedbackCriterion

func (pafc PollAnswerFeedbackCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsApplicationVersionCriterion

func (pafc PollAnswerFeedbackCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsBooleanTagCriterion

func (pafc PollAnswerFeedbackCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsCarrierCountryCriterion

func (pafc PollAnswerFeedbackCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsCarrierNameCriterion

func (pafc PollAnswerFeedbackCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDatapushFeedbackCriterion

func (pafc PollAnswerFeedbackCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDateTagCriterion

func (pafc PollAnswerFeedbackCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDeviceManufacturerCriterion

func (pafc PollAnswerFeedbackCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDeviceModelCriterion

func (pafc PollAnswerFeedbackCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsFirmwareVersionCriterion

func (pafc PollAnswerFeedbackCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsGeoFencingCriterion

func (pafc PollAnswerFeedbackCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsIntegerTagCriterion

func (pafc PollAnswerFeedbackCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsLanguageCriterion

func (pafc PollAnswerFeedbackCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsLocationCriterion

func (pafc PollAnswerFeedbackCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsNetworkTypeCriterion

func (pafc PollAnswerFeedbackCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsPollAnswerFeedbackCriterion

func (pafc PollAnswerFeedbackCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsPollFeedbackCriterion

func (pafc PollAnswerFeedbackCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsScreenSizeCriterion

func (pafc PollAnswerFeedbackCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsSegmentCriterion

func (pafc PollAnswerFeedbackCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsStringTagCriterion

func (pafc PollAnswerFeedbackCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) MarshalJSON

func (pafc PollAnswerFeedbackCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PollAnswerFeedbackCriterion.

type PollFeedbackCriterion

type PollFeedbackCriterion struct {
	Type      Type              `json:"type,omitempty"`
	ContentID *int32            `json:"content-id,omitempty"`
	Action    CampaignFeedbacks `json:"action,omitempty"`
}

PollFeedbackCriterion is used to target devices who received a poll.

func (PollFeedbackCriterion) AsAnnouncementFeedbackCriterion

func (pfc PollFeedbackCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsApplicationVersionCriterion

func (pfc PollFeedbackCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsBooleanTagCriterion

func (pfc PollFeedbackCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsCarrierCountryCriterion

func (pfc PollFeedbackCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsCarrierNameCriterion

func (pfc PollFeedbackCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDatapushFeedbackCriterion

func (pfc PollFeedbackCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDateTagCriterion

func (pfc PollFeedbackCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDeviceManufacturerCriterion

func (pfc PollFeedbackCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDeviceModelCriterion

func (pfc PollFeedbackCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsFirmwareVersionCriterion

func (pfc PollFeedbackCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsGeoFencingCriterion

func (pfc PollFeedbackCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsIntegerTagCriterion

func (pfc PollFeedbackCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsLanguageCriterion

func (pfc PollFeedbackCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsLocationCriterion

func (pfc PollFeedbackCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsNetworkTypeCriterion

func (pfc PollFeedbackCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsPollAnswerFeedbackCriterion

func (pfc PollFeedbackCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsPollFeedbackCriterion

func (pfc PollFeedbackCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsScreenSizeCriterion

func (pfc PollFeedbackCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsSegmentCriterion

func (pfc PollFeedbackCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsStringTagCriterion

func (pfc PollFeedbackCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) MarshalJSON

func (pfc PollFeedbackCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PollFeedbackCriterion.

type PollQuestion

type PollQuestion struct {
	Title        *string                               `json:"title,omitempty"`
	ID           *int32                                `json:"id,omitempty"`
	Localization *map[string]*PollQuestionLocalization `json:"localization,omitempty"`
	Choices      *[]PollQuestionChoice                 `json:"choices,omitempty"`
}

PollQuestion is

type PollQuestionChoice

type PollQuestionChoice struct {
	Title        *string                                     `json:"title,omitempty"`
	ID           *int32                                      `json:"id,omitempty"`
	Localization *map[string]*PollQuestionChoiceLocalization `json:"localization,omitempty"`
	IsDefault    *bool                                       `json:"isDefault,omitempty"`
}

PollQuestionChoice is

type PollQuestionChoiceLocalization

type PollQuestionChoiceLocalization struct {
	Title *string `json:"title,omitempty"`
}

PollQuestionChoiceLocalization is

type PollQuestionLocalization

type PollQuestionLocalization struct {
	Title *string `json:"title,omitempty"`
}

PollQuestionLocalization is

type ProvisioningStates

type ProvisioningStates string

ProvisioningStates enumerates the values for provisioning states.

const (
	// Creating specifies the creating state for provisioning states.
	Creating ProvisioningStates = "Creating"
	// Succeeded specifies the succeeded state for provisioning states.
	Succeeded ProvisioningStates = "Succeeded"
)

type PushModes

type PushModes string

PushModes enumerates the values for push modes.

const (
	// Manual specifies the manual state for push modes.
	Manual PushModes = "manual"
	// OneShot specifies the one shot state for push modes.
	OneShot PushModes = "one-shot"
	// RealTime specifies the real time state for push modes.
	RealTime PushModes = "real-time"
)

type PushQuotaFilter

type PushQuotaFilter struct {
	Type TypeFilter `json:"type,omitempty"`
}

PushQuotaFilter is engage only users for whom the push quota is not reached.

func (PushQuotaFilter) AsAppInfoFilter

func (pqf PushQuotaFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageActiveUsersFilter

func (pqf PushQuotaFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageIdleUsersFilter

func (pqf PushQuotaFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageNewUsersFilter

func (pqf PushQuotaFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageOldUsersFilter

func (pqf PushQuotaFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageSubsetFilter

func (pqf PushQuotaFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsNativePushEnabledFilter

func (pqf PushQuotaFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsPushQuotaFilter

func (pqf PushQuotaFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the Filter implementation for PushQuotaFilter.

func (PushQuotaFilter) MarshalJSON

func (pqf PushQuotaFilter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PushQuotaFilter.

type Resource

type Resource struct {
	ID       *string             `json:"id,omitempty"`
	Name     *string             `json:"name,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Location *string             `json:"location,omitempty"`
	Tags     *map[string]*string `json:"tags,omitempty"`
}

Resource is

type ScreenSizeCriterion

type ScreenSizeCriterion struct {
	Type Type    `json:"type,omitempty"`
	Name *string `json:"name,omitempty"`
}

ScreenSizeCriterion is used to target devices based on the screen resolution of their device.

func (ScreenSizeCriterion) AsAnnouncementFeedbackCriterion

func (ssc ScreenSizeCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsApplicationVersionCriterion

func (ssc ScreenSizeCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsBooleanTagCriterion

func (ssc ScreenSizeCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsCarrierCountryCriterion

func (ssc ScreenSizeCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsCarrierNameCriterion

func (ssc ScreenSizeCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDatapushFeedbackCriterion

func (ssc ScreenSizeCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDateTagCriterion

func (ssc ScreenSizeCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDeviceManufacturerCriterion

func (ssc ScreenSizeCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDeviceModelCriterion

func (ssc ScreenSizeCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsFirmwareVersionCriterion

func (ssc ScreenSizeCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsGeoFencingCriterion

func (ssc ScreenSizeCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsIntegerTagCriterion

func (ssc ScreenSizeCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsLanguageCriterion

func (ssc ScreenSizeCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsLocationCriterion

func (ssc ScreenSizeCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsNetworkTypeCriterion

func (ssc ScreenSizeCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsPollAnswerFeedbackCriterion

func (ssc ScreenSizeCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsPollFeedbackCriterion

func (ssc ScreenSizeCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsScreenSizeCriterion

func (ssc ScreenSizeCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsSegmentCriterion

func (ssc ScreenSizeCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsStringTagCriterion

func (ssc ScreenSizeCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) MarshalJSON

func (ssc ScreenSizeCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScreenSizeCriterion.

type SegmentCriterion

type SegmentCriterion struct {
	Type    Type   `json:"type,omitempty"`
	ID      *int32 `json:"id,omitempty"`
	Exclude *bool  `json:"exclude,omitempty"`
}

SegmentCriterion is target devices based on an existing segment.

func (SegmentCriterion) AsAnnouncementFeedbackCriterion

func (sc SegmentCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsApplicationVersionCriterion

func (sc SegmentCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsBooleanTagCriterion

func (sc SegmentCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsCarrierCountryCriterion

func (sc SegmentCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsCarrierNameCriterion

func (sc SegmentCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDatapushFeedbackCriterion

func (sc SegmentCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDateTagCriterion

func (sc SegmentCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDeviceManufacturerCriterion

func (sc SegmentCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDeviceModelCriterion

func (sc SegmentCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsFirmwareVersionCriterion

func (sc SegmentCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsGeoFencingCriterion

func (sc SegmentCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsIntegerTagCriterion

func (sc SegmentCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsLanguageCriterion

func (sc SegmentCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsLocationCriterion

func (sc SegmentCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsNetworkTypeCriterion

func (sc SegmentCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsPollAnswerFeedbackCriterion

func (sc SegmentCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsPollFeedbackCriterion

func (sc SegmentCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsScreenSizeCriterion

func (sc SegmentCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsSegmentCriterion

func (sc SegmentCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) AsStringTagCriterion

func (sc SegmentCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for SegmentCriterion.

func (SegmentCriterion) MarshalJSON

func (sc SegmentCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SegmentCriterion.

type StringTagCriterion

type StringTagCriterion struct {
	Type  Type    `json:"type,omitempty"`
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

StringTagCriterion is target devices based on a string tag value.

func (StringTagCriterion) AsAnnouncementFeedbackCriterion

func (stc StringTagCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsApplicationVersionCriterion

func (stc StringTagCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsBooleanTagCriterion

func (stc StringTagCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsCarrierCountryCriterion

func (stc StringTagCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsCarrierNameCriterion

func (stc StringTagCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDatapushFeedbackCriterion

func (stc StringTagCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDateTagCriterion

func (stc StringTagCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDeviceManufacturerCriterion

func (stc StringTagCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDeviceModelCriterion

func (stc StringTagCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsFirmwareVersionCriterion

func (stc StringTagCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsGeoFencingCriterion

func (stc StringTagCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsIntegerTagCriterion

func (stc StringTagCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsLanguageCriterion

func (stc StringTagCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsLocationCriterion

func (stc StringTagCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsNetworkTypeCriterion

func (stc StringTagCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsPollAnswerFeedbackCriterion

func (stc StringTagCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsPollFeedbackCriterion

func (stc StringTagCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsScreenSizeCriterion

func (stc StringTagCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsSegmentCriterion

func (stc StringTagCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) AsStringTagCriterion

func (stc StringTagCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the Criterion implementation for StringTagCriterion.

func (StringTagCriterion) MarshalJSON

func (stc StringTagCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringTagCriterion.

type SupportedPlatformsClient

type SupportedPlatformsClient struct {
	ManagementClient
}

SupportedPlatformsClient is the microsoft Azure Mobile Engagement REST APIs.

func NewSupportedPlatformsClient

func NewSupportedPlatformsClient(subscriptionID string) SupportedPlatformsClient

NewSupportedPlatformsClient creates an instance of the SupportedPlatformsClient client.

func NewSupportedPlatformsClientWithBaseURI

func NewSupportedPlatformsClientWithBaseURI(baseURI string, subscriptionID string) SupportedPlatformsClient

NewSupportedPlatformsClientWithBaseURI creates an instance of the SupportedPlatformsClient client.

func (SupportedPlatformsClient) List

func (client SupportedPlatformsClient) List() (result SupportedPlatformsListResult, err error)

List lists supported platforms for Engagement applications.

func (SupportedPlatformsClient) ListPreparer

func (client SupportedPlatformsClient) ListPreparer() (*http.Request, error)

ListPreparer prepares the List request.

func (SupportedPlatformsClient) ListResponder

func (client SupportedPlatformsClient) ListResponder(resp *http.Response) (result SupportedPlatformsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (SupportedPlatformsClient) ListSender

func (client SupportedPlatformsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type SupportedPlatformsListResult

type SupportedPlatformsListResult struct {
	autorest.Response `json:"-"`
	Platforms         *[]string `json:"platforms,omitempty"`
}

SupportedPlatformsListResult is

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeAnnouncementFeedback specifies the type announcement feedback state for type.
	TypeAnnouncementFeedback Type = "announcement-feedback"
	// TypeApplicationVersion specifies the type application version state for type.
	TypeApplicationVersion Type = "application-version"
	// TypeBooleanTag specifies the type boolean tag state for type.
	TypeBooleanTag Type = "boolean-tag"
	// TypeCarrierCountry specifies the type carrier country state for type.
	TypeCarrierCountry Type = "carrier-country"
	// TypeCarrierName specifies the type carrier name state for type.
	TypeCarrierName Type = "carrier-name"
	// TypeDatapushFeedback specifies the type datapush feedback state for type.
	TypeDatapushFeedback Type = "datapush-feedback"
	// TypeDateTag specifies the type date tag state for type.
	TypeDateTag Type = "date-tag"
	// TypeDeviceManufacturer specifies the type device manufacturer state for type.
	TypeDeviceManufacturer Type = "device-manufacturer"
	// TypeDeviceModel specifies the type device model state for type.
	TypeDeviceModel Type = "device-model"
	// TypeFirmwareVersion specifies the type firmware version state for type.
	TypeFirmwareVersion Type = "firmware-version"
	// TypeGeoFencing specifies the type geo fencing state for type.
	TypeGeoFencing Type = "geo-fencing"
	// TypeIntegerTag specifies the type integer tag state for type.
	TypeIntegerTag Type = "integer-tag"
	// TypeLanguage specifies the type language state for type.
	TypeLanguage Type = "language"
	// TypeLocation specifies the type location state for type.
	TypeLocation Type = "location"
	// TypeNetworkType specifies the type network type state for type.
	TypeNetworkType Type = "network-type"
	// TypePollAnswerFeedback specifies the type poll answer feedback state for type.
	TypePollAnswerFeedback Type = "poll-answer-feedback"
	// TypePollFeedback specifies the type poll feedback state for type.
	TypePollFeedback Type = "poll-feedback"
	// TypeScreenSize specifies the type screen size state for type.
	TypeScreenSize Type = "screen-size"
	// TypeSegment specifies the type segment state for type.
	TypeSegment Type = "segment"
	// TypeStringTag specifies the type string tag state for type.
	TypeStringTag Type = "string-tag"
)

type TypeFilter

type TypeFilter string

TypeFilter enumerates the values for type filter.

const (
	// TypeAppInfo specifies the type app info state for type filter.
	TypeAppInfo TypeFilter = "app-info"
	// TypeEngageActiveUsers specifies the type engage active users state for type filter.
	TypeEngageActiveUsers TypeFilter = "engage-active-users"
	// TypeEngageIdleUsers specifies the type engage idle users state for type filter.
	TypeEngageIdleUsers TypeFilter = "engage-idle-users"
	// TypeEngageNewUsers specifies the type engage new users state for type filter.
	TypeEngageNewUsers TypeFilter = "engage-new-users"
	// TypeEngageOldUsers specifies the type engage old users state for type filter.
	TypeEngageOldUsers TypeFilter = "engage-old-users"
	// TypeEngageSubset specifies the type engage subset state for type filter.
	TypeEngageSubset TypeFilter = "engage-subset"
	// TypeNativePushEnabled specifies the type native push enabled state for type filter.
	TypeNativePushEnabled TypeFilter = "native-push-enabled"
	// TypePushQuota specifies the type push quota state for type filter.
	TypePushQuota TypeFilter = "push-quota"
)

Jump to

Keyboard shortcuts

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