mobileengagement

package
v23.2.0+incompatible Latest Latest
Warning

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

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

Documentation

Overview

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

Microsoft Azure Mobile Engagement REST APIs.

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 ...

type APIErrorError

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

APIErrorError ...

type AnnouncementFeedbackCriterion

type AnnouncementFeedbackCriterion struct {
	// ContentID - The unique identifier of the announcement.
	ContentID *int32 `json:"content-id,omitempty"`
	// Action - Action that was performed on the announcement. Possible values include: 'Pushed', 'Replied', 'Actioned', 'Exited'
	Action CampaignFeedbacks `json:"action,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

AnnouncementFeedbackCriterion used to target devices who received an announcement.

func (AnnouncementFeedbackCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsBasicCriterion

func (afc AnnouncementFeedbackCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsCriterion

func (afc AnnouncementFeedbackCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for AnnouncementFeedbackCriterion.

func (AnnouncementFeedbackCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for AnnouncementFeedbackCriterion.

type App

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

App the Mobile Engagement App resource.

func (App) MarshalJSON

func (a App) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for App.

func (*App) UnmarshalJSON

func (a *App) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for App struct.

type AppCollection

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

AppCollection the AppCollection resource.

func (AppCollection) MarshalJSON

func (ac AppCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for AppCollection.

func (*AppCollection) UnmarshalJSON

func (ac *AppCollection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for AppCollection struct.

type AppCollectionListResult

type AppCollectionListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of AppCollections and their properties.
	Value *[]AppCollection `json:"value,omitempty"`
	// NextLink - When the results are paged, the nextLink is the URI for the next page of results. This property is empty when there are no additional pages.
	NextLink *string `json:"nextLink,omitempty"`
}

AppCollectionListResult the list AppCollections operation response.

func (AppCollectionListResult) IsEmpty

func (aclr AppCollectionListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AppCollectionListResultIterator

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

AppCollectionListResultIterator provides access to a complete listing of AppCollection values.

func (*AppCollectionListResultIterator) Next

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AppCollectionListResultIterator) NotDone

func (iter AppCollectionListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AppCollectionListResultIterator) Response

Response returns the raw server response from the last page request.

func (AppCollectionListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AppCollectionListResultPage

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

AppCollectionListResultPage contains a page of AppCollection values.

func (*AppCollectionListResultPage) Next

func (page *AppCollectionListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AppCollectionListResultPage) NotDone

func (page AppCollectionListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AppCollectionListResultPage) Response

Response returns the raw server response from the last page request.

func (AppCollectionListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type AppCollectionNameAvailability

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

AppCollectionNameAvailability ...

type AppCollectionProperties

type AppCollectionProperties struct {
	// ProvisioningState - Mobile Engagement AppCollection Properties. Possible values include: 'Creating', 'Succeeded'
	ProvisioningState ProvisioningStates `json:"provisioningState,omitempty"`
}

AppCollectionProperties ...

type AppCollectionsClient

type AppCollectionsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context) (result AppCollectionListResultPage, err error)

List lists app collections in a subscription.

func (AppCollectionsClient) ListComplete

func (client AppCollectionsClient) ListComplete(ctx context.Context) (result AppCollectionListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AppCollectionsClient) ListPreparer

func (client AppCollectionsClient) ListPreparer(ctx context.Context) (*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 {
	// AppInfo - An array containing all the required appInfo.
	AppInfo *[]string `json:"appInfo,omitempty"`
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

AppInfoFilter 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 BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsBasicFilter

func (aif AppInfoFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsFilter

func (aif AppInfoFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for AppInfoFilter.

func (AppInfoFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter 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 - The list of Apps and their properties.
	Value *[]App `json:"value,omitempty"`
	// NextLink - When the results are paged, the nextLink is the URI for the next page of results. This property is empty when there are no additional pages.
	NextLink *string `json:"nextLink,omitempty"`
}

AppListResult the list Apps operation response.

func (AppListResult) IsEmpty

func (alr AppListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type AppListResultIterator

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

AppListResultIterator provides access to a complete listing of App values.

func (*AppListResultIterator) Next

func (iter *AppListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (AppListResultIterator) NotDone

func (iter AppListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (AppListResultIterator) Response

func (iter AppListResultIterator) Response() AppListResult

Response returns the raw server response from the last page request.

func (AppListResultIterator) Value

func (iter AppListResultIterator) Value() App

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type AppListResultPage

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

AppListResultPage contains a page of App values.

func (*AppListResultPage) Next

func (page *AppListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (AppListResultPage) NotDone

func (page AppListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (AppListResultPage) Response

func (page AppListResultPage) Response() AppListResult

Response returns the raw server response from the last page request.

func (AppListResultPage) Values

func (page AppListResultPage) Values() []App

Values returns the slice of values for the current page or nil if there are no values.

type AppProperties

type AppProperties struct {
	// BackendID - The application unique identifier.
	BackendID *string `json:"backendId,omitempty"`
	// Platform - The platform of the app.
	Platform *string `json:"platform,omitempty"`
	// AppState - The state of the application.
	AppState *string `json:"appState,omitempty"`
}

AppProperties ...

type ApplicationVersionCriterion

type ApplicationVersionCriterion struct {
	// Name - The application version.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

ApplicationVersionCriterion 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 BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsBasicCriterion

func (avc ApplicationVersionCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsCriterion

func (avc ApplicationVersionCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for ApplicationVersionCriterion.

func (ApplicationVersionCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for ApplicationVersionCriterion.

type AppsClient

type AppsClient struct {
	BaseClient
}

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(ctx context.Context, resourceGroupName string, appCollection string) (result AppListResultPage, 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(ctx context.Context, resourceGroupName string, appCollection string) (result AppListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (AppsClient) ListPreparer

func (client AppsClient) ListPreparer(ctx context.Context, 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 ...
	EQ AudienceOperators = "EQ"
	// GE ...
	GE AudienceOperators = "GE"
	// GT ...
	GT AudienceOperators = "GT"
	// LE ...
	LE AudienceOperators = "LE"
	// LT ...
	LT AudienceOperators = "LT"
)

func PossibleAudienceOperatorsValues

func PossibleAudienceOperatorsValues() []AudienceOperators

PossibleAudienceOperatorsValues returns an array of possible values for the AudienceOperators const type.

type BaseClient

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

BaseClient is the base client for Mobileengagement.

func New

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type BasicCriterion

type BasicCriterion 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)
	AsCriterion() (*Criterion, bool)
}

BasicCriterion ...

type BasicFilter

type BasicFilter 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)
	AsFilter() (*Filter, bool)
}

BasicFilter ...

type BooleanTagCriterion

type BooleanTagCriterion struct {
	// Name - The name of the custom tag.
	Name *string `json:"name,omitempty"`
	// Value - A custom boolean value to match.
	Value *bool `json:"value,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

BooleanTagCriterion target devices based on a boolean tag value.

func (BooleanTagCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsBasicCriterion

func (btc BooleanTagCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsCriterion

func (btc BooleanTagCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for BooleanTagCriterion.

func (BooleanTagCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for BooleanTagCriterion.

type Campaign

type Campaign struct {
	// Name - Unique name of the campaign.
	Name *string `json:"name,omitempty"`
	// Audience - 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.
	Audience *CampaignAudience `json:"audience,omitempty"`
	// Category - Category of the campaign. Categories can be used on the application side to customize campaigns.
	Category *string `json:"category,omitempty"`
	// PushMode - Announcements/polls only. Defines how the campaign is pushed. Valid values are: * `real-time`: Never ending campaign, the campaign will be delivered  to your existing users and also to your new users. * `one-shot`: In this mode, the campaign will be delivered only to your existing users (campaign will stop after that). * `manual`: In this mode, the campaign will not be pushed automatically to devices. You will have to use the Push campaign command to push the campaign to your end-users. Campaigns can be pushed multiple times to the same device.
	// . Possible values include: 'RealTime', 'OneShot', 'Manual'
	PushMode PushModes `json:"pushMode,omitempty"`
	// Type - Applicable only to announcements and data pushes. Type of announcement. Valid values are: * `text/plain`: Text-only announcement: `body` property should only contain plain text. * `text/html`: HTML announcement: `body` attribute can contain HTML code. * `only_notif`: Notification-only announcement. With this kind of announcements, the `body`, `title`, `actionButtonText` and `exitButtonText` are ignored. Type of data push. Valid values are: * `text/plain`: Text only data push: `body` property must be plain text. * `text/base64`: Base 64 data push: `body` property must be encoded in base 64.
	// . Possible values include: 'Textplain', 'Texthtml', 'OnlyNotif', 'Textbase64'
	Type CampaignTypes `json:"type,omitempty"`
	// DeliveryTime - Announcements/polls only. Defines when the campaign should be delivered. Valid values are: * `any`: Campaign will be delivered as soon as possible. * `background`: iOS only. Campaign will be only delivered when the application is in background (out of app). * `session`: Campaign will be delivered when the application is running.
	// . Possible values include: 'Any', 'Background', 'Session'
	DeliveryTime DeliveryTimes `json:"deliveryTime,omitempty"`
	// DeliveryActivities - Announcements/polls only. Array containing the list of activities in which the campaign can be delivered. deliveryTime must be set to session. If the platform is iOS, this option can also be set if deliveryTime is set to any. In that case, if the campaign is received when the application is launched, it will be delivered only in the specified list of activities.
	DeliveryActivities *[]string `json:"deliveryActivities,omitempty"`
	// StartTime - The date at which the campaign should be started. The date shall conform to the following format: `yyyy-MM-ddTHH:mm:ssZ`. * If you set pushMode property to manual, this attribute will be ignored. * If you set pushMode property to one-shot, then the timezone attribute must be specified. Example: `2011-11-21 15:23Z`
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - The date at which the campaign should be finished. The date shall conform to the following format: `yyyy-MM-ddTHH:mm:ssZ`. Example: `2011-11-21 15:23Z`
	EndTime *string `json:"endTime,omitempty"`
	// Timezone - The id of the time zone to use for the startTime and endTime dates. If not provided, the two date attributes will be expressed using the device timezone. Example: America/Los_Angeles
	Timezone *string `json:"timezone,omitempty"`
	// NotificationType - Android only. Defines how the notification should be displayed. Valid values are: * `system`: Display the notification using a standard system notification. * `popup`: Display the notification using a in-app banner notification.
	// . Possible values include: 'System', 'Popup'
	NotificationType NotificationTypes `json:"notificationType,omitempty"`
	// NotificationIcon - A flag indicating whether or not you want to display the resource icon in notification content.
	NotificationIcon *bool `json:"notificationIcon,omitempty"`
	// NotificationCloseable - A flag indicating whether or not you want the notification to be closeable.
	NotificationCloseable *bool `json:"notificationCloseable,omitempty"`
	// NotificationVibrate - Android only. A flag indicating whether or not you want the system notification to make a vibration. The notificationType property must be set to system.
	NotificationVibrate *bool `json:"notificationVibrate,omitempty"`
	// NotificationSound - * `Android`: A flag indicating whether or not you want the system notification to make a sound. The `notificationType` property must be set to `system`. * `iOS`: A flag indicating whether or not you want the native Apple Push notification to make a sound. The `deliveryTime` property must be set to `any` or `background`. This will play the 'default' sound. If you want to play a custom sound, see the `notificationOptions` property. * `Windows`: A flag indicating whether or not you want the native Windows Notification Service to make a sound. The `deliveryTime` property must be set to `any`.
	NotificationSound *bool `json:"notificationSound,omitempty"`
	// NotificationBadge - A flag indicating whether or not you want the native Apple Push notification to update the badge icon to the number of unread messages. The `deliveryTime` property must be set to `any` or `background`.
	NotificationBadge *bool `json:"notificationBadge,omitempty"`
	// Localization - Push campaigns can be localized using an optional JSON object. The JSON key is a two-character language code as specified by the ISO 639-1 standard. The corresponding value is an object containing the localizable properties.
	Localization map[string]*CampaignLocalization `json:"localization"`
	// Questions - Poll questions.
	Questions *[]PollQuestion `json:"questions,omitempty"`
	// NotificationTitle - Title of the notification. This field supports appInfo markers.
	NotificationTitle *string `json:"notificationTitle,omitempty"`
	// NotificationMessage - Message of the notification. This field supports appInfo markers.
	NotificationMessage *string `json:"notificationMessage,omitempty"`
	// NotificationImage - Optional image encoded in base 64. Usually included in the right part of in app notifications (or as a banner if there is neither text nor content icon). For Android system notifications, the image is used as the large icon (displayed only on Android 3+).
	NotificationImage *[]byte `json:"notificationImage,omitempty"`
	// NotificationOptions - Additional platform specific options.
	NotificationOptions *NotificationOptions `json:"notificationOptions,omitempty"`
	// Title - Title of the announcement or poll. This field supports appInfo markers.
	Title *string `json:"title,omitempty"`
	// Body - Body of the text/web announcement, poll or data push. This field supports appInfo markers.
	Body *string `json:"body,omitempty"`
	// ActionButtonText - Text of the action button for text/web announcements and polls (answer button).
	ActionButtonText *string `json:"actionButtonText,omitempty"`
	// ExitButtonText - Text of the exit button for text/web announcements and polls.
	ExitButtonText *string `json:"exitButtonText,omitempty"`
	// ActionURL - URL to launch when the announcement is actioned.
	ActionURL *string `json:"actionUrl,omitempty"`
	// Payload - Native push payload.
	Payload interface{} `json:"payload,omitempty"`
}

Campaign ...

func (Campaign) MarshalJSON

func (c Campaign) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Campaign.

type CampaignAudience

type CampaignAudience struct {
	// Expression - Boolean expression made of criteria (variables) operators (`not`, `and` or `or`) and parenthesis. Criterion names in the audience expression must start with a capital letter and can only contain alphanumeric (A-Z,a-z,0-9) and underscore (_) characters.
	Expression *string `json:"expression,omitempty"`
	// Criteria - Criteria by name.
	Criteria map[string]*Criterion `json:"criteria"`
	// Filters - Global filters applied to all devices.
	Filters *[]BasicFilter `json:"filters,omitempty"`
}

CampaignAudience 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) MarshalJSON

func (c CampaignAudience) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CampaignAudience.

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 ...
	Actioned CampaignFeedbacks = "actioned"
	// Exited ...
	Exited CampaignFeedbacks = "exited"
	// Pushed ...
	Pushed CampaignFeedbacks = "pushed"
	// Replied ...
	Replied CampaignFeedbacks = "replied"
)

func PossibleCampaignFeedbacksValues

func PossibleCampaignFeedbacksValues() []CampaignFeedbacks

PossibleCampaignFeedbacksValues returns an array of possible values for the CampaignFeedbacks const type.

type CampaignKinds

type CampaignKinds string

CampaignKinds enumerates the values for campaign kinds.

const (
	// Announcements ...
	Announcements CampaignKinds = "announcements"
	// DataPushes ...
	DataPushes CampaignKinds = "dataPushes"
	// NativePushes ...
	NativePushes CampaignKinds = "nativePushes"
	// Polls ...
	Polls CampaignKinds = "polls"
)

func PossibleCampaignKindsValues

func PossibleCampaignKindsValues() []CampaignKinds

PossibleCampaignKindsValues returns an array of possible values for the CampaignKinds const type.

type CampaignListResult

type CampaignListResult struct {
	// Name - Name of the campaign.
	Name *string `json:"name,omitempty"`
	// ActivatedDate - The date at which the campaign was activated (Not present if not yet activated). The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
	ActivatedDate *date.Time `json:"activatedDate,omitempty"`
	// FinishedDate - The date at which the campaign was finished (Not present if not yet finished). The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
	FinishedDate *date.Time `json:"finishedDate,omitempty"`
	// StartTime - The date at which the campaign should be started if specified. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. Applicable only to announcements and polls.
	StartTime *date.Time `json:"startTime,omitempty"`
	// EndTime - The date at which the campaign should be finished if specified. The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard. Applicable only to announcements and polls.
	EndTime *date.Time `json:"endTime,omitempty"`
	// Timezone - The id of the time zone to use for the `startTime` and `endTime` dates. If not provided, the two date attributes are referencing to the device timezone. Applicable only to announcements and polls.
	Timezone *string `json:"timezone,omitempty"`
	// ID - Campaign identifier.
	ID *int32 `json:"id,omitempty"`
	// State - State of the campaign, or 'queued' when testing a campaign. Possible values include: 'Draft', 'Scheduled', 'InProgress', 'Finished', 'Queued'
	State CampaignStates `json:"state,omitempty"`
}

CampaignListResult ...

type CampaignLocalization

type CampaignLocalization struct {
	// NotificationTitle - Title of the notification. This field supports appInfo markers.
	NotificationTitle *string `json:"notificationTitle,omitempty"`
	// NotificationMessage - Message of the notification. This field supports appInfo markers.
	NotificationMessage *string `json:"notificationMessage,omitempty"`
	// NotificationImage - Optional image encoded in base 64. Usually included in the right part of in app notifications (or as a banner if there is neither text nor content icon). For Android system notifications, the image is used as the large icon (displayed only on Android 3+).
	NotificationImage *[]byte `json:"notificationImage,omitempty"`
	// NotificationOptions - Additional platform specific options.
	NotificationOptions *NotificationOptions `json:"notificationOptions,omitempty"`
	// Title - Title of the announcement or poll. This field supports appInfo markers.
	Title *string `json:"title,omitempty"`
	// Body - Body of the text/web announcement, poll or data push. This field supports appInfo markers.
	Body *string `json:"body,omitempty"`
	// ActionButtonText - Text of the action button for text/web announcements and polls (answer button).
	ActionButtonText *string `json:"actionButtonText,omitempty"`
	// ExitButtonText - Text of the exit button for text/web announcements and polls.
	ExitButtonText *string `json:"exitButtonText,omitempty"`
	// ActionURL - URL to launch when the announcement is actioned.
	ActionURL *string `json:"actionUrl,omitempty"`
	// Payload - Native push payload.
	Payload interface{} `json:"payload,omitempty"`
}

CampaignLocalization ...

type CampaignPushParameters

type CampaignPushParameters struct {
	// DeviceIds - Device identifiers to push as a JSON array of strings. Note that if you want to push the same campaign several times to the same device, you need to make several API calls.
	DeviceIds *[]string `json:"deviceIds,omitempty"`
	// Data - Alternative campaign's content to use instead of the referenced campaign. All campaign's properties can be overridden except for the following: `name`, `manualPush`, `audience`, `startTime` and `timezone`. `endTime` can be overridden while keeping original `timezone` parameter. The effect is to change the client side expiration of the received campaign for the specific devices. If your campaign is a *poll*, the provided data should contain the same number of questions and choices that the one you created with the create command. Please note that all the push messages created using this parameter will expire after 4 weeks at maximum (`endTime` property of the campaign will be used if lower than 4 weeks in the future).
	Data *Campaign `json:"data,omitempty"`
}

CampaignPushParameters ...

type CampaignPushResult

type CampaignPushResult struct {
	autorest.Response `json:"-"`
	// InvalidDeviceIds - A JSON array containing all identifiers that have been rejected. A device can be rejected for the following reasons: * The device hasn’t reported any session yet. * The device is over quota (if a push quota filter is applied on your campaign). Please note that if the request parameters are valid but all the specified devices are rejected, the status code is still `200` with a response including all the devices as being rejected.
	InvalidDeviceIds *[]string `json:"invalidDeviceIds,omitempty"`
}

CampaignPushResult ...

type CampaignResult

type CampaignResult struct {
	autorest.Response `json:"-"`
	// ID - Campaign identifier.
	ID *int32 `json:"id,omitempty"`
	// State - State of the campaign, or 'queued' when testing a campaign. Possible values include: 'Draft', 'Scheduled', 'InProgress', 'Finished', 'Queued'
	State CampaignStates `json:"state,omitempty"`
	// ActivatedDate - The date at which the campaign was activated (Not present if not yet activated). The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
	ActivatedDate *date.Time `json:"activatedDate,omitempty"`
	// FinishedDate - The date at which the campaign was finished (Not present if not yet finished). The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.
	FinishedDate *date.Time `json:"finishedDate,omitempty"`
	// Name - Unique name of the campaign.
	Name *string `json:"name,omitempty"`
	// Audience - 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.
	Audience *CampaignAudience `json:"audience,omitempty"`
	// Category - Category of the campaign. Categories can be used on the application side to customize campaigns.
	Category *string `json:"category,omitempty"`
	// PushMode - Announcements/polls only. Defines how the campaign is pushed. Valid values are: * `real-time`: Never ending campaign, the campaign will be delivered  to your existing users and also to your new users. * `one-shot`: In this mode, the campaign will be delivered only to your existing users (campaign will stop after that). * `manual`: In this mode, the campaign will not be pushed automatically to devices. You will have to use the Push campaign command to push the campaign to your end-users. Campaigns can be pushed multiple times to the same device.
	// . Possible values include: 'RealTime', 'OneShot', 'Manual'
	PushMode PushModes `json:"pushMode,omitempty"`
	// Type - Applicable only to announcements and data pushes. Type of announcement. Valid values are: * `text/plain`: Text-only announcement: `body` property should only contain plain text. * `text/html`: HTML announcement: `body` attribute can contain HTML code. * `only_notif`: Notification-only announcement. With this kind of announcements, the `body`, `title`, `actionButtonText` and `exitButtonText` are ignored. Type of data push. Valid values are: * `text/plain`: Text only data push: `body` property must be plain text. * `text/base64`: Base 64 data push: `body` property must be encoded in base 64.
	// . Possible values include: 'Textplain', 'Texthtml', 'OnlyNotif', 'Textbase64'
	Type CampaignTypes `json:"type,omitempty"`
	// DeliveryTime - Announcements/polls only. Defines when the campaign should be delivered. Valid values are: * `any`: Campaign will be delivered as soon as possible. * `background`: iOS only. Campaign will be only delivered when the application is in background (out of app). * `session`: Campaign will be delivered when the application is running.
	// . Possible values include: 'Any', 'Background', 'Session'
	DeliveryTime DeliveryTimes `json:"deliveryTime,omitempty"`
	// DeliveryActivities - Announcements/polls only. Array containing the list of activities in which the campaign can be delivered. deliveryTime must be set to session. If the platform is iOS, this option can also be set if deliveryTime is set to any. In that case, if the campaign is received when the application is launched, it will be delivered only in the specified list of activities.
	DeliveryActivities *[]string `json:"deliveryActivities,omitempty"`
	// StartTime - The date at which the campaign should be started. The date shall conform to the following format: `yyyy-MM-ddTHH:mm:ssZ`. * If you set pushMode property to manual, this attribute will be ignored. * If you set pushMode property to one-shot, then the timezone attribute must be specified. Example: `2011-11-21 15:23Z`
	StartTime *string `json:"startTime,omitempty"`
	// EndTime - The date at which the campaign should be finished. The date shall conform to the following format: `yyyy-MM-ddTHH:mm:ssZ`. Example: `2011-11-21 15:23Z`
	EndTime *string `json:"endTime,omitempty"`
	// Timezone - The id of the time zone to use for the startTime and endTime dates. If not provided, the two date attributes will be expressed using the device timezone. Example: America/Los_Angeles
	Timezone *string `json:"timezone,omitempty"`
	// NotificationType - Android only. Defines how the notification should be displayed. Valid values are: * `system`: Display the notification using a standard system notification. * `popup`: Display the notification using a in-app banner notification.
	// . Possible values include: 'System', 'Popup'
	NotificationType NotificationTypes `json:"notificationType,omitempty"`
	// NotificationIcon - A flag indicating whether or not you want to display the resource icon in notification content.
	NotificationIcon *bool `json:"notificationIcon,omitempty"`
	// NotificationCloseable - A flag indicating whether or not you want the notification to be closeable.
	NotificationCloseable *bool `json:"notificationCloseable,omitempty"`
	// NotificationVibrate - Android only. A flag indicating whether or not you want the system notification to make a vibration. The notificationType property must be set to system.
	NotificationVibrate *bool `json:"notificationVibrate,omitempty"`
	// NotificationSound - * `Android`: A flag indicating whether or not you want the system notification to make a sound. The `notificationType` property must be set to `system`. * `iOS`: A flag indicating whether or not you want the native Apple Push notification to make a sound. The `deliveryTime` property must be set to `any` or `background`. This will play the 'default' sound. If you want to play a custom sound, see the `notificationOptions` property. * `Windows`: A flag indicating whether or not you want the native Windows Notification Service to make a sound. The `deliveryTime` property must be set to `any`.
	NotificationSound *bool `json:"notificationSound,omitempty"`
	// NotificationBadge - A flag indicating whether or not you want the native Apple Push notification to update the badge icon to the number of unread messages. The `deliveryTime` property must be set to `any` or `background`.
	NotificationBadge *bool `json:"notificationBadge,omitempty"`
	// Localization - Push campaigns can be localized using an optional JSON object. The JSON key is a two-character language code as specified by the ISO 639-1 standard. The corresponding value is an object containing the localizable properties.
	Localization map[string]*CampaignLocalization `json:"localization"`
	// Questions - Poll questions.
	Questions *[]PollQuestion `json:"questions,omitempty"`
	// NotificationTitle - Title of the notification. This field supports appInfo markers.
	NotificationTitle *string `json:"notificationTitle,omitempty"`
	// NotificationMessage - Message of the notification. This field supports appInfo markers.
	NotificationMessage *string `json:"notificationMessage,omitempty"`
	// NotificationImage - Optional image encoded in base 64. Usually included in the right part of in app notifications (or as a banner if there is neither text nor content icon). For Android system notifications, the image is used as the large icon (displayed only on Android 3+).
	NotificationImage *[]byte `json:"notificationImage,omitempty"`
	// NotificationOptions - Additional platform specific options.
	NotificationOptions *NotificationOptions `json:"notificationOptions,omitempty"`
	// Title - Title of the announcement or poll. This field supports appInfo markers.
	Title *string `json:"title,omitempty"`
	// Body - Body of the text/web announcement, poll or data push. This field supports appInfo markers.
	Body *string `json:"body,omitempty"`
	// ActionButtonText - Text of the action button for text/web announcements and polls (answer button).
	ActionButtonText *string `json:"actionButtonText,omitempty"`
	// ExitButtonText - Text of the exit button for text/web announcements and polls.
	ExitButtonText *string `json:"exitButtonText,omitempty"`
	// ActionURL - URL to launch when the announcement is actioned.
	ActionURL *string `json:"actionUrl,omitempty"`
	// Payload - Native push payload.
	Payload interface{} `json:"payload,omitempty"`
}

CampaignResult ...

func (CampaignResult) MarshalJSON

func (cr CampaignResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CampaignResult.

type CampaignState

type CampaignState struct {
	autorest.Response `json:"-"`
	// State - State of the campaign, or 'queued' when testing a campaign. Possible values include: 'Draft', 'Scheduled', 'InProgress', 'Finished', 'Queued'
	State CampaignStates `json:"state,omitempty"`
}

CampaignState ...

type CampaignStateResult

type CampaignStateResult struct {
	autorest.Response `json:"-"`
	// ID - Campaign identifier.
	ID *int32 `json:"id,omitempty"`
	// State - State of the campaign, or 'queued' when testing a campaign. Possible values include: 'Draft', 'Scheduled', 'InProgress', 'Finished', 'Queued'
	State CampaignStates `json:"state,omitempty"`
}

CampaignStateResult ...

type CampaignStates

type CampaignStates string

CampaignStates enumerates the values for campaign states.

const (
	// Draft ...
	Draft CampaignStates = "draft"
	// Finished ...
	Finished CampaignStates = "finished"
	// InProgress ...
	InProgress CampaignStates = "in-progress"
	// Queued ...
	Queued CampaignStates = "queued"
	// Scheduled ...
	Scheduled CampaignStates = "scheduled"
)

func PossibleCampaignStatesValues

func PossibleCampaignStatesValues() []CampaignStates

PossibleCampaignStatesValues returns an array of possible values for the CampaignStates const type.

type CampaignStatisticsResult

type CampaignStatisticsResult struct {
	autorest.Response `json:"-"`
	// Queued - Number of times the campaign was registered to be pushed.
	Queued *int32 `json:"queued,omitempty"`
	// Pushed - Number of pushes performed.
	Pushed *int32 `json:"pushed,omitempty"`
	// PushedNative - Total number of native pushes. Information only available on Android, iOS, Windows Phone and Windows applications.
	PushedNative *int32 `json:"pushed-native,omitempty"`
	// PushedNativeGoogle - Number of C2DM/GCM pushes (available only on Android applications).
	PushedNativeGoogle *int32 `json:"pushed-native-google,omitempty"`
	// PushedNativeAdm - Number of ADM pushes (available only on Android applications).
	PushedNativeAdm *int32 `json:"pushed-native-adm,omitempty"`
	// Delivered - Number of times the campaign was received by the application (Not present in case of a native-push).
	Delivered *int32 `json:"delivered,omitempty"`
	// Dropped - Number of times the campaign was dropped by the application. It can happen if the SDK failed to parse the campaign payload or if an error occurred while trying to notify the end-user (Not present in case of a native-push).
	Dropped *int32 `json:"dropped,omitempty"`
	// SystemNotificationDisplayed - Number of times the system notification was displayed (Not present in case of a data-push or a native-push). On Android it corresponds to a status bar notification.
	SystemNotificationDisplayed *int32 `json:"system-notification-displayed,omitempty"`
	// InAppNotificationDisplayed - Number of times the in-app notification was displayed (Not present in case of a data-push or a native-push).
	InAppNotificationDisplayed *int32 `json:"in-app-notification-displayed,omitempty"`
	// ContentDisplayed - Number of times the campaign’s content view was displayed (Not present in case of a notification-only announcement, a data-push or a native-push).
	ContentDisplayed *int32 `json:"content-displayed,omitempty"`
	// SystemNotificationActioned - Number of times the system notification (On Android it corresponds to a status bar notification. On iOS, it is the Apple Push notification) was actioned.
	SystemNotificationActioned *int32 `json:"system-notification-actioned,omitempty"`
	// SystemNotificationExited - Number of times the system notification was exited (Not present in case of a data-push or a native-push).
	SystemNotificationExited *int32 `json:"system-notification-exited,omitempty"`
	// InAppNotificationActioned - Number of times the in-app notification was actioned (Not present in case of a data-push or a native-push).
	InAppNotificationActioned *int32 `json:"in-app-notification-actioned,omitempty"`
	// InAppNotificationExited - Number of times the in-app notification was exited (Not present in case of a data-push or a native-push).
	InAppNotificationExited *int32 `json:"in-app-notification-exited,omitempty"`
	// ContentActioned - Number of times the campaign’s content view was actioned (Not present in case of a notification-only announcement or a native-push).
	ContentActioned *int32 `json:"content-actioned,omitempty"`
	// ContentExited - Number of times the campaign’s content view was exited (Not present in case of a notification-only announcement or a native-push).
	ContentExited *int32 `json:"content-exited,omitempty"`
	// Answers - Poll specific statistics.
	Answers map[string]interface{} `json:"answers"`
}

CampaignStatisticsResult ...

func (CampaignStatisticsResult) MarshalJSON

func (csr CampaignStatisticsResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CampaignStatisticsResult.

type CampaignTestNewParameters

type CampaignTestNewParameters struct {
	Data *Campaign `json:"data,omitempty"`
	// DeviceID - Device identifier (as returned by the SDK).
	DeviceID *string `json:"deviceId,omitempty"`
	// Lang - The language to test expressed using ISO 639-1 code. The default language of the campaign will be used if the parameter is not provided.
	Lang *string `json:"lang,omitempty"`
}

CampaignTestNewParameters ...

type CampaignTestSavedParameters

type CampaignTestSavedParameters struct {
	// DeviceID - Device identifier (as returned by the SDK).
	DeviceID *string `json:"deviceId,omitempty"`
	// Lang - The language to test expressed using ISO 639-1 code. The default language of the campaign will be used if the parameter is not provided.
	Lang *string `json:"lang,omitempty"`
}

CampaignTestSavedParameters ...

type CampaignType

type CampaignType string

CampaignType enumerates the values for campaign type.

const (
	// Announcement ...
	Announcement CampaignType = "Announcement"
	// DataPush ...
	DataPush CampaignType = "DataPush"
	// NativePush ...
	NativePush CampaignType = "NativePush"
	// Poll ...
	Poll CampaignType = "Poll"
)

func PossibleCampaignTypeValues

func PossibleCampaignTypeValues() []CampaignType

PossibleCampaignTypeValues returns an array of possible values for the CampaignType const type.

type CampaignTypes

type CampaignTypes string

CampaignTypes enumerates the values for campaign types.

const (
	// OnlyNotif ...
	OnlyNotif CampaignTypes = "only_notif"
	// Textbase64 ...
	Textbase64 CampaignTypes = "text/base64"
	// Texthtml ...
	Texthtml CampaignTypes = "text/html"
	// Textplain ...
	Textplain CampaignTypes = "text/plain"
)

func PossibleCampaignTypesValues

func PossibleCampaignTypesValues() []CampaignTypes

PossibleCampaignTypesValues returns an array of possible values for the CampaignTypes const type.

type CampaignsClient

type CampaignsClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, kind CampaignKinds, skip *int32, top *int32, filter string, orderby string, search string) (result CampaignsListResultPage, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, kind CampaignKinds, skip *int32, top *int32, filter string, orderby string, search string) (result CampaignsListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (CampaignsClient) ListPreparer

func (client CampaignsClient) ListPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - The list of campaigns.
	Value *[]CampaignListResult `json:"value,omitempty"`
	// NextLink - When using `top` parameter and if partial results are returned, this property describes a URI path to get the next results. This property is not set when reaching the last page.
	NextLink *string `json:"nextLink,omitempty"`
}

CampaignsListResult the campaigns list result.

func (CampaignsListResult) IsEmpty

func (clr CampaignsListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type CampaignsListResultIterator

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

CampaignsListResultIterator provides access to a complete listing of CampaignListResult values.

func (*CampaignsListResultIterator) Next

func (iter *CampaignsListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (CampaignsListResultIterator) NotDone

func (iter CampaignsListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (CampaignsListResultIterator) Response

Response returns the raw server response from the last page request.

func (CampaignsListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type CampaignsListResultPage

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

CampaignsListResultPage contains a page of CampaignListResult values.

func (*CampaignsListResultPage) Next

func (page *CampaignsListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (CampaignsListResultPage) NotDone

func (page CampaignsListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (CampaignsListResultPage) Response

Response returns the raw server response from the last page request.

func (CampaignsListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type CarrierCountryCriterion

type CarrierCountryCriterion struct {
	// Name - Two-characters country code (ISO 3166-1).
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

CarrierCountryCriterion used to target devices based on their carrier country.

func (CarrierCountryCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsBasicCriterion

func (ccc CarrierCountryCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsCriterion

func (ccc CarrierCountryCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for CarrierCountryCriterion.

func (CarrierCountryCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for CarrierCountryCriterion.

type CarrierNameCriterion

type CarrierNameCriterion struct {
	// Name - Carrier name value.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

CarrierNameCriterion used to target devices based on their carrier name.

func (CarrierNameCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsBasicCriterion

func (cnc CarrierNameCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsCriterion

func (cnc CarrierNameCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for CarrierNameCriterion.

func (CarrierNameCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for CarrierNameCriterion.

type Criterion

type Criterion struct {
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

Criterion ...

func (Criterion) AsAnnouncementFeedbackCriterion

func (c Criterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsApplicationVersionCriterion

func (c Criterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsBasicCriterion

func (c Criterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsBooleanTagCriterion

func (c Criterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsCarrierCountryCriterion

func (c Criterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsCarrierNameCriterion

func (c Criterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsCriterion

func (c Criterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsDatapushFeedbackCriterion

func (c Criterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsDateTagCriterion

func (c Criterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsDeviceManufacturerCriterion

func (c Criterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsDeviceModelCriterion

func (c Criterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsFirmwareVersionCriterion

func (c Criterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsGeoFencingCriterion

func (c Criterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsIntegerTagCriterion

func (c Criterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsLanguageCriterion

func (c Criterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsLocationCriterion

func (c Criterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsNetworkTypeCriterion

func (c Criterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsPollAnswerFeedbackCriterion

func (c Criterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsPollFeedbackCriterion

func (c Criterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsScreenSizeCriterion

func (c Criterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsSegmentCriterion

func (c Criterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) AsStringTagCriterion

func (c Criterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the BasicCriterion implementation for Criterion.

func (Criterion) MarshalJSON

func (c Criterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Criterion.

type DatapushFeedbackCriterion

type DatapushFeedbackCriterion struct {
	// ContentID - The unique identifier of the data push.
	ContentID *int32 `json:"content-id,omitempty"`
	// Action - Action that was performed on the data push (action depends on the return value in the callbacks you declared in the client code).
	// . Possible values include: 'Pushed', 'Replied', 'Actioned', 'Exited'
	Action CampaignFeedbacks `json:"action,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

DatapushFeedbackCriterion used to target devices who received a data push.

func (DatapushFeedbackCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsBasicCriterion

func (dfc DatapushFeedbackCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsCriterion

func (dfc DatapushFeedbackCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for DatapushFeedbackCriterion.

func (DatapushFeedbackCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 - A description of the export task.
	Description *string `json:"description,omitempty"`
	// StartDate - The RFC3339 full-date of the start of the period for which data is exported.
	StartDate *date.Date `json:"startDate,omitempty"`
	// EndDate - The RFC3339 full-date of the end of the period for which data is exported.
	EndDate *date.Date `json:"endDate,omitempty"`
	// ExportFormat - The format of the exported data. Possible values include: 'JSONBlob', 'CsvBlob'
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

DateRangeExportTaskParameter ...

type DateTagCriterion

type DateTagCriterion struct {
	// Name - The name of the custom tag.
	Name *string `json:"name,omitempty"`
	// Value - It can be either: * an absolute date using yyyy-MM-dd format (e.g. 1969-12-07 stands for 7 Dec 1969). * an offset in days relative to the current day (`TODAY` + `value`).
	Value *date.Date `json:"value,omitempty"`
	// Op - comparison operator: `EQ` (equal to), `LT` (less than), `GT` (greater than), `LE` (less than or equal to) or `GE` (greater than or equal to). Possible values include: 'EQ', 'LT', 'GT', 'LE', 'GE'
	Op AudienceOperators `json:"op,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

DateTagCriterion target devices based on a date tag value.

func (DateTagCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsBasicCriterion

func (dtc DateTagCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsCriterion

func (dtc DateTagCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for DateTagCriterion.

func (DateTagCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 ...
	Any DeliveryTimes = "any"
	// Background ...
	Background DeliveryTimes = "background"
	// Session ...
	Session DeliveryTimes = "session"
)

func PossibleDeliveryTimesValues

func PossibleDeliveryTimesValues() []DeliveryTimes

PossibleDeliveryTimesValues returns an array of possible values for the DeliveryTimes const type.

type Device

type Device struct {
	autorest.Response `json:"-"`
	// DeviceID - The device result.
	DeviceID *string `json:"deviceId,omitempty"`
	// Meta - Application usage data.
	Meta *DeviceMeta `json:"meta,omitempty"`
	// Info - Last technical data received (concerning device, system, network and application identification).
	Info *DeviceInfo `json:"info,omitempty"`
	// Location - Last geo-location data received.
	Location *DeviceLocation `json:"location,omitempty"`
	// AppInfo - Also known as tags, a key-value set as a JSON object.
	AppInfo map[string]*string `json:"appInfo"`
}

Device ...

func (Device) MarshalJSON

func (d Device) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Device.

type DeviceInfo

type DeviceInfo struct {
	// PhoneModel - Phone model.
	PhoneModel *string `json:"phoneModel,omitempty"`
	// PhoneManufacturer - Phone manufacturer
	PhoneManufacturer *string `json:"phoneManufacturer,omitempty"`
	// FirmwareVersion - Firmware version.
	FirmwareVersion *string `json:"firmwareVersion,omitempty"`
	// FirmwareName - Firmware name.
	FirmwareName *string `json:"firmwareName,omitempty"`
	// AndroidAPILevel - Android API level.
	AndroidAPILevel *int32 `json:"androidAPILevel,omitempty"`
	// CarrierCountry - Carrier country.
	CarrierCountry *string `json:"carrierCountry,omitempty"`
	// Locale - Locale code.
	Locale *string `json:"locale,omitempty"`
	// CarrierName - Carrier name.
	CarrierName *string `json:"carrierName,omitempty"`
	// NetworkType - Network type.
	NetworkType *string `json:"networkType,omitempty"`
	// NetworkSubtype - Network sub-type.
	NetworkSubtype *string `json:"networkSubtype,omitempty"`
	// ApplicationVersionName - Application version name.
	ApplicationVersionName *string `json:"applicationVersionName,omitempty"`
	// ApplicationVersionCode - Application version code.
	ApplicationVersionCode *int32 `json:"applicationVersionCode,omitempty"`
	// TimeZoneOffset - The offset in minutes from UTC for the device time zone, including daylight savings time.
	TimeZoneOffset *int32 `json:"timeZoneOffset,omitempty"`
	// ServiceVersion - SDK version.
	ServiceVersion *string `json:"serviceVersion,omitempty"`
}

DeviceInfo ...

type DeviceLocation

type DeviceLocation struct {
	// Countrycode - The ISO 3166 two-letter country code.
	Countrycode *string `json:"countrycode,omitempty"`
	// Region - An administrative region of the nation, such as a state or province.
	Region *string `json:"region,omitempty"`
	// Locality - A locality within the administrative region, such as a town or city.
	Locality *string `json:"locality,omitempty"`
}

DeviceLocation ...

type DeviceManufacturerCriterion

type DeviceManufacturerCriterion struct {
	// Name - The device manufacturer.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

DeviceManufacturerCriterion used to target devices based on the device manufacturer.

func (DeviceManufacturerCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsBasicCriterion

func (dmc DeviceManufacturerCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsCriterion

func (dmc DeviceManufacturerCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for DeviceManufacturerCriterion.

func (DeviceManufacturerCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 - First time the device used the application in milliseconds since January 1st, 1970 UTC.
	FirstSeen *int64 `json:"firstSeen,omitempty"`
	// LastSeen - Last time the device used the application in milliseconds since January 1st, 1970 UTC.
	LastSeen *int64 `json:"lastSeen,omitempty"`
	// LastInfo - Timestamp corresponding to the info object in milliseconds since January 1st, 1970 UTC.
	LastInfo *int64 `json:"lastInfo,omitempty"`
	// LastLocation - Timestamp corresponding to the location object in milliseconds since January 1st, 1970 UTC.
	LastLocation *int64 `json:"lastLocation,omitempty"`
	// NativePushEnabled - Boolean indicating if native push notifications (like Android’s GCM or Apple’s APNS) are enabled for the application. This boolean is set to true when the application registers successfully to the native push service, and set to false when the native push service reports to Mobile Engagement that the application can no longer be pushed (which means that it has been uninstalled). This report is performed a few hours after Mobile Engagement has tried to perform a native push to a device on which the application has been uninstalled.
	NativePushEnabled *bool `json:"nativePushEnabled,omitempty"`
}

DeviceMeta ...

type DeviceModelCriterion

type DeviceModelCriterion struct {
	// Name - The device model.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

DeviceModelCriterion used to target devices based on the device model.

func (DeviceModelCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsBasicCriterion

func (dmc DeviceModelCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsCriterion

func (dmc DeviceModelCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for DeviceModelCriterion.

func (DeviceModelCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 - The device result.
	DeviceID *string `json:"deviceId,omitempty"`
	// Meta - Application usage data.
	Meta *DeviceMeta `json:"meta,omitempty"`
	// AppInfo - Also known as tags, a key-value set as a JSON object.
	AppInfo map[string]*string `json:"appInfo"`
}

DeviceQueryResult ...

func (DeviceQueryResult) MarshalJSON

func (dqr DeviceQueryResult) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceQueryResult.

type DeviceTagsParameters

type DeviceTagsParameters struct {
	// Tags - A JSON object describing the set of tags to record for a set of users. Each key is a device/user identifier, each value is itself a key/value set: the tags to set for the specified device/user identifier.
	Tags map[string]map[string]*string `json:"tags"`
	// DeleteOnNull - If this parameter is `true`, tags with a null value will be deleted.
	DeleteOnNull *bool `json:"deleteOnNull,omitempty"`
}

DeviceTagsParameters ...

func (DeviceTagsParameters) MarshalJSON

func (dtp DeviceTagsParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DeviceTagsParameters.

type DeviceTagsResult

type DeviceTagsResult struct {
	autorest.Response `json:"-"`
	// InvalidIds - A JSON array containing all identifiers that have been rejected. Please note that if the request parameters are valid but all the specified devices are rejected, the status code is still `200` with a response including all the devices as being rejected.
	InvalidIds *[]string `json:"invalidIds,omitempty"`
}

DeviceTagsResult ...

type DevicesClient

type DevicesClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, top *int32, selectParameter string, filter string) (result DevicesQueryResultPage, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, top *int32, selectParameter string, filter string) (result DevicesQueryResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (DevicesClient) ListPreparer

func (client DevicesClient) ListPreparer(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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 - The list of devices.
	Value *[]DeviceQueryResult `json:"value,omitempty"`
	// NextLink - If partial results are returned, this property describes a URI path to get the next result page.
	NextLink *string `json:"nextLink,omitempty"`
}

DevicesQueryResult the campaigns list result.

func (DevicesQueryResult) IsEmpty

func (dqr DevicesQueryResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type DevicesQueryResultIterator

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

DevicesQueryResultIterator provides access to a complete listing of DeviceQueryResult values.

func (*DevicesQueryResultIterator) Next

func (iter *DevicesQueryResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (DevicesQueryResultIterator) NotDone

func (iter DevicesQueryResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (DevicesQueryResultIterator) Response

Response returns the raw server response from the last page request.

func (DevicesQueryResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type DevicesQueryResultPage

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

DevicesQueryResultPage contains a page of DeviceQueryResult values.

func (*DevicesQueryResultPage) Next

func (page *DevicesQueryResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (DevicesQueryResultPage) NotDone

func (page DevicesQueryResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (DevicesQueryResultPage) Response

Response returns the raw server response from the last page request.

func (DevicesQueryResultPage) Values

func (page DevicesQueryResultPage) Values() []DeviceQueryResult

Values returns the slice of values for the current page or nil if there are no values.

type EngageActiveUsersFilter

type EngageActiveUsersFilter struct {
	// Threshold - An integer value representing the threshold to apply on this filter.
	Threshold *int32 `json:"threshold,omitempty"`
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

EngageActiveUsersFilter 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 BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsBasicFilter

func (eauf EngageActiveUsersFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsFilter

func (eauf EngageActiveUsersFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter implementation for EngageActiveUsersFilter.

func (EngageActiveUsersFilter) MarshalJSON

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

MarshalJSON is the custom marshaler for EngageActiveUsersFilter.

type EngageIdleUsersFilter

type EngageIdleUsersFilter struct {
	// Threshold - An integer value representing the threshold to apply on this filter.
	Threshold *int32 `json:"threshold,omitempty"`
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

EngageIdleUsersFilter 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 BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsBasicFilter

func (eiuf EngageIdleUsersFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsFilter

func (eiuf EngageIdleUsersFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter implementation for EngageIdleUsersFilter.

func (EngageIdleUsersFilter) MarshalJSON

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

MarshalJSON is the custom marshaler for EngageIdleUsersFilter.

type EngageNewUsersFilter

type EngageNewUsersFilter struct {
	// Threshold - An integer value representing the threshold to apply on this filter.
	Threshold *int32 `json:"threshold,omitempty"`
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

EngageNewUsersFilter 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 BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsBasicFilter

func (enuf EngageNewUsersFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsFilter

func (enuf EngageNewUsersFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter implementation for EngageNewUsersFilter.

func (EngageNewUsersFilter) MarshalJSON

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

MarshalJSON is the custom marshaler for EngageNewUsersFilter.

type EngageOldUsersFilter

type EngageOldUsersFilter struct {
	// Threshold - An integer value representing the threshold to apply on this filter.
	Threshold *int32 `json:"threshold,omitempty"`
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

EngageOldUsersFilter 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 BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsBasicFilter

func (eouf EngageOldUsersFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsFilter

func (eouf EngageOldUsersFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter implementation for EngageOldUsersFilter.

func (EngageOldUsersFilter) MarshalJSON

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

MarshalJSON is the custom marshaler for EngageOldUsersFilter.

type EngageSubsetFilter

type EngageSubsetFilter struct {
	// Max - An integer value representing the maximum users that should be pushed.
	Max *int32 `json:"max,omitempty"`
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

EngageSubsetFilter send only to a maximum of max users.

func (EngageSubsetFilter) AsAppInfoFilter

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

AsAppInfoFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsBasicFilter

func (esf EngageSubsetFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsFilter

func (esf EngageSubsetFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for EngageSubsetFilter.

func (EngageSubsetFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter 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 ...
	CsvBlob ExportFormat = "CsvBlob"
	// JSONBlob ...
	JSONBlob ExportFormat = "JsonBlob"
)

func PossibleExportFormatValues

func PossibleExportFormatValues() []ExportFormat

PossibleExportFormatValues returns an array of possible values for the ExportFormat const type.

type ExportOptions

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

ExportOptions options to control export generation.

type ExportState

type ExportState string

ExportState enumerates the values for export state.

const (
	// ExportStateFailed ...
	ExportStateFailed ExportState = "Failed"
	// ExportStateQueued ...
	ExportStateQueued ExportState = "Queued"
	// ExportStateStarted ...
	ExportStateStarted ExportState = "Started"
	// ExportStateSucceeded ...
	ExportStateSucceeded ExportState = "Succeeded"
)

func PossibleExportStateValues

func PossibleExportStateValues() []ExportState

PossibleExportStateValues returns an array of possible values for the ExportState const type.

type ExportTaskListResult

type ExportTaskListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of export tasks.
	Value *[]ExportTaskResult `json:"value,omitempty"`
	// NextLink - When the results are paged, the nextLink is the URI for the next page of results. This property is empty when there are no additional pages.
	NextLink *string `json:"nextLink,omitempty"`
}

ExportTaskListResult gets a paged list of ExportTasks.

func (ExportTaskListResult) IsEmpty

func (etlr ExportTaskListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ExportTaskListResultIterator

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

ExportTaskListResultIterator provides access to a complete listing of ExportTaskResult values.

func (*ExportTaskListResultIterator) Next

func (iter *ExportTaskListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ExportTaskListResultIterator) NotDone

func (iter ExportTaskListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ExportTaskListResultIterator) Response

Response returns the raw server response from the last page request.

func (ExportTaskListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ExportTaskListResultPage

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

ExportTaskListResultPage contains a page of ExportTaskResult values.

func (*ExportTaskListResultPage) Next

func (page *ExportTaskListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ExportTaskListResultPage) NotDone

func (page ExportTaskListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ExportTaskListResultPage) Response

Response returns the raw server response from the last page request.

func (ExportTaskListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ExportTaskParameter

type ExportTaskParameter struct {
	ContainerURL *string `json:"containerUrl,omitempty"`
	// Description - A description of the export task.
	Description *string `json:"description,omitempty"`
	// ExportFormat - The format of the exported data. Possible values include: 'JSONBlob', 'CsvBlob'
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

ExportTaskParameter ...

type ExportTaskResult

type ExportTaskResult struct {
	autorest.Response `json:"-"`
	// ID - Unique identifier of the export task.
	ID *string `json:"id,omitempty"`
	// Description - A description of the export task.
	Description *string `json:"description,omitempty"`
	// State - Possible values include: 'ExportStateQueued', 'ExportStateStarted', 'ExportStateSucceeded', 'ExportStateFailed'
	State ExportState `json:"state,omitempty"`
	// DateCreated - The RFC3339 date-time the export task was created.
	DateCreated *date.Time `json:"dateCreated,omitempty"`
	// DateCompleted - The RFC3339 date-time the export task was completed.
	DateCompleted *date.Time `json:"dateCompleted,omitempty"`
	// ExportType - Possible values include: 'ExportTypeActivity', 'ExportTypeTag', 'ExportTypeCrash', 'ExportTypeError', 'ExportTypeEvent', 'ExportTypeJob', 'ExportTypeSession', 'ExportTypeToken', 'ExportTypePush'
	ExportType ExportType `json:"exportType,omitempty"`
	// ErrorDetails - Details of errors encountered during the export, if any.
	ErrorDetails *string `json:"errorDetails,omitempty"`
}

ExportTaskResult ...

type ExportTasksClient

type ExportTasksClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (result ExportTaskListResultPage, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (result ExportTaskListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ExportTasksClient) ListPreparer

func (client ExportTasksClient) ListPreparer(ctx context.Context, 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 ...
	ExportTypeActivity ExportType = "Activity"
	// ExportTypeCrash ...
	ExportTypeCrash ExportType = "Crash"
	// ExportTypeError ...
	ExportTypeError ExportType = "Error"
	// ExportTypeEvent ...
	ExportTypeEvent ExportType = "Event"
	// ExportTypeJob ...
	ExportTypeJob ExportType = "Job"
	// ExportTypePush ...
	ExportTypePush ExportType = "Push"
	// ExportTypeSession ...
	ExportTypeSession ExportType = "Session"
	// ExportTypeTag ...
	ExportTypeTag ExportType = "Tag"
	// ExportTypeToken ...
	ExportTypeToken ExportType = "Token"
)

func PossibleExportTypeValues

func PossibleExportTypeValues() []ExportType

PossibleExportTypeValues returns an array of possible values for the ExportType const type.

type FeedbackByCampaignParameter

type FeedbackByCampaignParameter struct {
	ContainerURL *string `json:"containerUrl,omitempty"`
	// Description - A description of the export task.
	Description *string `json:"description,omitempty"`
	// CampaignType - Possible values include: 'Announcement', 'DataPush', 'NativePush', 'Poll'
	CampaignType CampaignType `json:"campaignType,omitempty"`
	// CampaignIds - A list of campaign identifiers.
	CampaignIds *[]int32 `json:"campaignIds,omitempty"`
	// ExportFormat - The format of the exported data. Possible values include: 'JSONBlob', 'CsvBlob'
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

FeedbackByCampaignParameter ...

type FeedbackByDateRangeParameter

type FeedbackByDateRangeParameter struct {
	ContainerURL *string `json:"containerUrl,omitempty"`
	// Description - A description of the export task.
	Description *string `json:"description,omitempty"`
	// CampaignType - Possible values include: 'Announcement', 'DataPush', 'NativePush', 'Poll'
	CampaignType CampaignType `json:"campaignType,omitempty"`
	// CampaignWindowStart - The RFC3339 date-time start of the period for inclusion of active campaigns.
	CampaignWindowStart *date.Time `json:"campaignWindowStart,omitempty"`
	// CampaignWindowEnd - The RFC3339 date-time end of the period for inclusion of active campaigns.
	CampaignWindowEnd *date.Time `json:"campaignWindowEnd,omitempty"`
	// ExportFormat - The format of the exported data. Possible values include: 'JSONBlob', 'CsvBlob'
	ExportFormat ExportFormat `json:"exportFormat,omitempty"`
}

FeedbackByDateRangeParameter ...

type Filter

type Filter struct {
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

Filter ...

func (Filter) AsAppInfoFilter

func (f Filter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the BasicFilter implementation for Filter.

func (Filter) AsBasicFilter

func (f Filter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for Filter.

func (Filter) AsEngageActiveUsersFilter

func (f Filter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the BasicFilter implementation for Filter.

func (Filter) AsEngageIdleUsersFilter

func (f Filter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the BasicFilter implementation for Filter.

func (Filter) AsEngageNewUsersFilter

func (f Filter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the BasicFilter implementation for Filter.

func (Filter) AsEngageOldUsersFilter

func (f Filter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the BasicFilter implementation for Filter.

func (Filter) AsEngageSubsetFilter

func (f Filter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the BasicFilter implementation for Filter.

func (Filter) AsFilter

func (f Filter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for Filter.

func (Filter) AsNativePushEnabledFilter

func (f Filter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the BasicFilter implementation for Filter.

func (Filter) AsPushQuotaFilter

func (f Filter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the BasicFilter implementation for Filter.

func (Filter) MarshalJSON

func (f Filter) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Filter.

type FirmwareVersionCriterion

type FirmwareVersionCriterion struct {
	// Name - Firmware version.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

FirmwareVersionCriterion used to target devices based on their firmware version.

func (FirmwareVersionCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsBasicCriterion

func (fvc FirmwareVersionCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsCriterion

func (fvc FirmwareVersionCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for FirmwareVersionCriterion.

func (FirmwareVersionCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for FirmwareVersionCriterion.

type GeoFencingCriterion

type GeoFencingCriterion struct {
	// Lat - The latitude of the central point of the region.
	Lat *float64 `json:"lat,omitempty"`
	// Lon - The longitude of the central point of the region.
	Lon *float64 `json:"lon,omitempty"`
	// Radius - The radius of the central point of the region, in meters.
	Radius *int32 `json:"radius,omitempty"`
	// Expiration - Number of minutes before device location is considered to be expired.
	Expiration *int32 `json:"expiration,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

GeoFencingCriterion 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 BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsBasicCriterion

func (gfc GeoFencingCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsCriterion

func (gfc GeoFencingCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for GeoFencingCriterion.

func (GeoFencingCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 - A shared Access Signature (SAS) Storage URI where the job results will be retrieved from.
	StorageURL *string `json:"storageUrl,omitempty"`
}

ImportTask ...

type ImportTaskListResult

type ImportTaskListResult struct {
	autorest.Response `json:"-"`
	// Value - The list of import task.
	Value *[]ImportTaskResult `json:"value,omitempty"`
	// NextLink - When the results are paged, the nextLink is the URI for the next page of results. This property is empty when there are no additional pages.
	NextLink *string `json:"nextLink,omitempty"`
}

ImportTaskListResult gets a paged list of import tasks.

func (ImportTaskListResult) IsEmpty

func (itlr ImportTaskListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type ImportTaskListResultIterator

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

ImportTaskListResultIterator provides access to a complete listing of ImportTaskResult values.

func (*ImportTaskListResultIterator) Next

func (iter *ImportTaskListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (ImportTaskListResultIterator) NotDone

func (iter ImportTaskListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (ImportTaskListResultIterator) Response

Response returns the raw server response from the last page request.

func (ImportTaskListResultIterator) Value

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type ImportTaskListResultPage

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

ImportTaskListResultPage contains a page of ImportTaskResult values.

func (*ImportTaskListResultPage) Next

func (page *ImportTaskListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (ImportTaskListResultPage) NotDone

func (page ImportTaskListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (ImportTaskListResultPage) Response

Response returns the raw server response from the last page request.

func (ImportTaskListResultPage) Values

Values returns the slice of values for the current page or nil if there are no values.

type ImportTaskResult

type ImportTaskResult struct {
	autorest.Response `json:"-"`
	// ID - Unique identifier of the import task.
	ID *string `json:"id,omitempty"`
	// State - The current state of the import task. Possible values include: 'JobStatesQueued', 'JobStatesStarted', 'JobStatesSucceeded', 'JobStatesFailed'
	State JobStates `json:"state,omitempty"`
	// DateCreated - The date at which the import job was created.
	// The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
	DateCreated *date.Time `json:"dateCreated,omitempty"`
	// DateCompleted - The date at which the import job completed (Not present if not yet completed).
	// The date conforms to the following format: `yyyy-MM-ddTHH:mm:ssZ` as specified by the ISO 8601 standard.
	DateCompleted *date.Time `json:"dateCompleted,omitempty"`
	// ErrorDetails - Details of any errors encountered during the import, if any.
	ErrorDetails *string `json:"errorDetails,omitempty"`
	// StorageURL - A shared Access Signature (SAS) Storage URI where the job results will be retrieved from.
	StorageURL *string `json:"storageUrl,omitempty"`
}

ImportTaskResult ...

type ImportTasksClient

type ImportTasksClient struct {
	BaseClient
}

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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (result ImportTaskListResultPage, 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(ctx context.Context, resourceGroupName string, appCollection string, appName string, skip *int32, top *int32, orderby string) (result ImportTaskListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (ImportTasksClient) ListPreparer

func (client ImportTasksClient) ListPreparer(ctx context.Context, 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 {
	// Name - The name of the custom tag.
	Name *string `json:"name,omitempty"`
	// Value - A custom integer value to match.
	Value *int32 `json:"value,omitempty"`
	// Op - comparison operator: `EQ` (equal to), `LT` (less than), `GT` (greater than), `LE` (less than or equal to) or `GE` (greater than or equal to). Possible values include: 'EQ', 'LT', 'GT', 'LE', 'GE'
	Op AudienceOperators `json:"op,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

IntegerTagCriterion target devices based on an integer tag value.

func (IntegerTagCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsBasicCriterion

func (itc IntegerTagCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsCriterion

func (itc IntegerTagCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for IntegerTagCriterion.

func (IntegerTagCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 ...
	JobStatesFailed JobStates = "Failed"
	// JobStatesQueued ...
	JobStatesQueued JobStates = "Queued"
	// JobStatesStarted ...
	JobStatesStarted JobStates = "Started"
	// JobStatesSucceeded ...
	JobStatesSucceeded JobStates = "Succeeded"
)

func PossibleJobStatesValues

func PossibleJobStatesValues() []JobStates

PossibleJobStatesValues returns an array of possible values for the JobStates const type.

type LanguageCriterion

type LanguageCriterion struct {
	// Name - Two character language code (ISO 639-1).
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

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

func (LanguageCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsBasicCriterion

func (lc LanguageCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsCriterion

func (lc LanguageCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for LanguageCriterion.

func (LanguageCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for LanguageCriterion.

type LocationCriterion

type LocationCriterion struct {
	// Country - Two character country code where the user is located (ISO 3166-1).
	Country *string `json:"country,omitempty"`
	// Region - An administrative region of the country, such as a state or province.
	Region *string `json:"region,omitempty"`
	// Locality - A locality within the administrative region, such as a town or city.
	Locality *string `json:"locality,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

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

func (LocationCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsBasicCriterion

func (lc LocationCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsCriterion

func (lc LocationCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for LocationCriterion.

func (LocationCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for LocationCriterion.

type NativePushEnabledFilter

type NativePushEnabledFilter struct {
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

NativePushEnabledFilter engage only users with native push enabled.

func (NativePushEnabledFilter) AsAppInfoFilter

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

AsAppInfoFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsBasicFilter

func (npef NativePushEnabledFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageActiveUsersFilter

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

AsEngageActiveUsersFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageIdleUsersFilter

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

AsEngageIdleUsersFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageNewUsersFilter

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

AsEngageNewUsersFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageOldUsersFilter

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

AsEngageOldUsersFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsEngageSubsetFilter

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

AsEngageSubsetFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsFilter

func (npef NativePushEnabledFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsNativePushEnabledFilter

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

AsNativePushEnabledFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) AsPushQuotaFilter

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

AsPushQuotaFilter is the BasicFilter implementation for NativePushEnabledFilter.

func (NativePushEnabledFilter) MarshalJSON

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

MarshalJSON is the custom marshaler for NativePushEnabledFilter.

type NetworkTypeCriterion

type NetworkTypeCriterion struct {
	// Name - The network type (Wifi, Mobile...).
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

NetworkTypeCriterion used to target devices based their network type.

func (NetworkTypeCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsBasicCriterion

func (ntc NetworkTypeCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsCriterion

func (ntc NetworkTypeCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for NetworkTypeCriterion.

func (NetworkTypeCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion 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 - Android 4.1+ only. Multi line message shown in expanded notifications on Android 4.1+ devices. The `notificationType` property must be set to `system`.
	BigText *string `json:"bigText,omitempty"`
	// BigPicture - URL of a remote image displayed in expanded notifications on
	// Android 4.1+ devices with the following constraints:
	// * The URL length is limited to 2000 characters.
	// * The image size must be less than 4 MiB.
	// * The following MIME types are supported:
	// ** image/png
	// ** image/jpeg
	// ** image/gif
	// ** image/webp
	// ** image/bmp
	// ** image/x-bmp
	// ** image/x-ms-bmp
	// * URL scheme must be HTTP or HTTPS (with valid SSL certificate).
	// * Incompatible with `bigText`, only one of the fields can be set.
	// * The `notificationType` property must be set to `system`.
	BigPicture *string `json:"bigPicture,omitempty"`
	// Sound - iOS only. The name of a sound file in the application bundle. The sound in this file is played as an alert. If the sound file doesn’t exist or default is specified as the value, the default alert sound is played. The audio must be in one of the audio data formats that are compatible with system sounds. The `deliveryTime` property must be set to `any` or `background`.
	Sound *string `json:"sound,omitempty"`
	// ActionText - The action text is the title of the right button of the alert or the value of the unlock slider, where the value replaces 'unlock' in 'slide to unlock'. 'View' (localized to the preferred language) is used as the default value. The `deliveryTime` property must be set to `any` or `background`.
	ActionText *string `json:"actionText,omitempty"`
}

NotificationOptions ...

type NotificationTypes

type NotificationTypes string

NotificationTypes enumerates the values for notification types.

const (
	// Popup ...
	Popup NotificationTypes = "popup"
	// System ...
	System NotificationTypes = "system"
)

func PossibleNotificationTypesValues

func PossibleNotificationTypesValues() []NotificationTypes

PossibleNotificationTypesValues returns an array of possible values for the NotificationTypes const type.

type PollAnswerFeedbackCriterion

type PollAnswerFeedbackCriterion struct {
	// ContentID - The unique identifier of the poll.
	ContentID *int32 `json:"content-id,omitempty"`
	// ChoiceID - The unique identifier of the choice.
	ChoiceID *int32 `json:"choice-id,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

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

func (PollAnswerFeedbackCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsBasicCriterion

func (pafc PollAnswerFeedbackCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsBooleanTagCriterion

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

AsBooleanTagCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsCarrierCountryCriterion

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

AsCarrierCountryCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsCarrierNameCriterion

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

AsCarrierNameCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsCriterion

func (pafc PollAnswerFeedbackCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDatapushFeedbackCriterion

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

AsDatapushFeedbackCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDateTagCriterion

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

AsDateTagCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDeviceManufacturerCriterion

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

AsDeviceManufacturerCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsDeviceModelCriterion

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

AsDeviceModelCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsFirmwareVersionCriterion

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

AsFirmwareVersionCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsGeoFencingCriterion

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

AsGeoFencingCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsIntegerTagCriterion

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

AsIntegerTagCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsLanguageCriterion

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

AsLanguageCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsLocationCriterion

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

AsLocationCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsNetworkTypeCriterion

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

AsNetworkTypeCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsPollAnswerFeedbackCriterion

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

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsPollFeedbackCriterion

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

AsPollFeedbackCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsScreenSizeCriterion

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

AsScreenSizeCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsSegmentCriterion

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

AsSegmentCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) AsStringTagCriterion

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

AsStringTagCriterion is the BasicCriterion implementation for PollAnswerFeedbackCriterion.

func (PollAnswerFeedbackCriterion) MarshalJSON

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

MarshalJSON is the custom marshaler for PollAnswerFeedbackCriterion.

type PollFeedbackCriterion

type PollFeedbackCriterion struct {
	// ContentID - The unique identifier of the poll.
	ContentID *int32 `json:"content-id,omitempty"`
	// Action - Action that was performed on the poll. Possible values include: 'Pushed', 'Replied', 'Actioned', 'Exited'
	Action CampaignFeedbacks `json:"action,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

PollFeedbackCriterion used to target devices who received a poll.

func (PollFeedbackCriterion) AsAnnouncementFeedbackCriterion

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

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsApplicationVersionCriterion

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

AsApplicationVersionCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsBasicCriterion

func (pfc PollFeedbackCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsBooleanTagCriterion

func (pfc PollFeedbackCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsCarrierCountryCriterion

func (pfc PollFeedbackCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsCarrierNameCriterion

func (pfc PollFeedbackCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsCriterion

func (pfc PollFeedbackCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDatapushFeedbackCriterion

func (pfc PollFeedbackCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDateTagCriterion

func (pfc PollFeedbackCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDeviceManufacturerCriterion

func (pfc PollFeedbackCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsDeviceModelCriterion

func (pfc PollFeedbackCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsFirmwareVersionCriterion

func (pfc PollFeedbackCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsGeoFencingCriterion

func (pfc PollFeedbackCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsIntegerTagCriterion

func (pfc PollFeedbackCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsLanguageCriterion

func (pfc PollFeedbackCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsLocationCriterion

func (pfc PollFeedbackCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsNetworkTypeCriterion

func (pfc PollFeedbackCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsPollAnswerFeedbackCriterion

func (pfc PollFeedbackCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsPollFeedbackCriterion

func (pfc PollFeedbackCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsScreenSizeCriterion

func (pfc PollFeedbackCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsSegmentCriterion

func (pfc PollFeedbackCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) AsStringTagCriterion

func (pfc PollFeedbackCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the BasicCriterion implementation for PollFeedbackCriterion.

func (PollFeedbackCriterion) MarshalJSON

func (pfc PollFeedbackCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PollFeedbackCriterion.

type PollQuestion

type PollQuestion struct {
	// ID - Unique identifier of the question.
	ID *int32 `json:"id,omitempty"`
	// Localization - Poll questions can be localized using an optional JSON object. The JSON key is a two-character language code as specified by the ISO 639-1 standard. The corresponding value is an object containing the localizable property title.
	Localization map[string]*PollQuestionLocalization `json:"localization"`
	// Choices - List of possible choices for this question.
	Choices *[]PollQuestionChoice `json:"choices,omitempty"`
	// Title - Title of the question.
	Title *string `json:"title,omitempty"`
}

PollQuestion ...

func (PollQuestion) MarshalJSON

func (pq PollQuestion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PollQuestion.

type PollQuestionChoice

type PollQuestionChoice struct {
	// ID - Unique identifier of the choice.
	ID *int32 `json:"id,omitempty"`
	// Localization - Poll choices can be localized using an optional JSON object. The JSON key is a two-character language code as specified by the ISO 639-1 standard. The corresponding value is an object containing the localizable property title.
	Localization map[string]*PollQuestionChoiceLocalization `json:"localization"`
	// IsDefault - A flag indicating if this choice is the default choice for the associated question. Only one choice in the array can have this value set to true.
	IsDefault *bool `json:"isDefault,omitempty"`
	// Title - Title of the choice.
	Title *string `json:"title,omitempty"`
}

PollQuestionChoice ...

func (PollQuestionChoice) MarshalJSON

func (pqc PollQuestionChoice) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for PollQuestionChoice.

type PollQuestionChoiceLocalization

type PollQuestionChoiceLocalization struct {
	// Title - Title of the choice.
	Title *string `json:"title,omitempty"`
}

PollQuestionChoiceLocalization ...

type PollQuestionLocalization

type PollQuestionLocalization struct {
	// Title - Title of the question.
	Title *string `json:"title,omitempty"`
}

PollQuestionLocalization ...

type ProvisioningStates

type ProvisioningStates string

ProvisioningStates enumerates the values for provisioning states.

const (
	// Creating ...
	Creating ProvisioningStates = "Creating"
	// Succeeded ...
	Succeeded ProvisioningStates = "Succeeded"
)

func PossibleProvisioningStatesValues

func PossibleProvisioningStatesValues() []ProvisioningStates

PossibleProvisioningStatesValues returns an array of possible values for the ProvisioningStates const type.

type PushModes

type PushModes string

PushModes enumerates the values for push modes.

const (
	// Manual ...
	Manual PushModes = "manual"
	// OneShot ...
	OneShot PushModes = "one-shot"
	// RealTime ...
	RealTime PushModes = "real-time"
)

func PossiblePushModesValues

func PossiblePushModesValues() []PushModes

PossiblePushModesValues returns an array of possible values for the PushModes const type.

type PushQuotaFilter

type PushQuotaFilter struct {
	// Type - Possible values include: 'TypeFilter', 'TypeEngageSubset', 'TypeEngageOldUsers', 'TypeEngageNewUsers', 'TypeEngageActiveUsers', 'TypeEngageIdleUsers', 'TypeNativePushEnabled', 'TypePushQuota', 'TypeAppInfo'
	Type TypeBasicFilter `json:"type,omitempty"`
}

PushQuotaFilter engage only users for whom the push quota is not reached.

func (PushQuotaFilter) AsAppInfoFilter

func (pqf PushQuotaFilter) AsAppInfoFilter() (*AppInfoFilter, bool)

AsAppInfoFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsBasicFilter

func (pqf PushQuotaFilter) AsBasicFilter() (BasicFilter, bool)

AsBasicFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageActiveUsersFilter

func (pqf PushQuotaFilter) AsEngageActiveUsersFilter() (*EngageActiveUsersFilter, bool)

AsEngageActiveUsersFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageIdleUsersFilter

func (pqf PushQuotaFilter) AsEngageIdleUsersFilter() (*EngageIdleUsersFilter, bool)

AsEngageIdleUsersFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageNewUsersFilter

func (pqf PushQuotaFilter) AsEngageNewUsersFilter() (*EngageNewUsersFilter, bool)

AsEngageNewUsersFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageOldUsersFilter

func (pqf PushQuotaFilter) AsEngageOldUsersFilter() (*EngageOldUsersFilter, bool)

AsEngageOldUsersFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsEngageSubsetFilter

func (pqf PushQuotaFilter) AsEngageSubsetFilter() (*EngageSubsetFilter, bool)

AsEngageSubsetFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsFilter

func (pqf PushQuotaFilter) AsFilter() (*Filter, bool)

AsFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsNativePushEnabledFilter

func (pqf PushQuotaFilter) AsNativePushEnabledFilter() (*NativePushEnabledFilter, bool)

AsNativePushEnabledFilter is the BasicFilter implementation for PushQuotaFilter.

func (PushQuotaFilter) AsPushQuotaFilter

func (pqf PushQuotaFilter) AsPushQuotaFilter() (*PushQuotaFilter, bool)

AsPushQuotaFilter is the BasicFilter 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 - Resource Id
	ID *string `json:"id,omitempty"`
	// Name - Resource name
	Name *string `json:"name,omitempty"`
	// Type - Resource type
	Type *string `json:"type,omitempty"`
	// Location - Resource location
	Location *string `json:"location,omitempty"`
	// Tags - Resource tags
	Tags map[string]*string `json:"tags"`
}

Resource ...

func (Resource) MarshalJSON

func (r Resource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for Resource.

type ScreenSizeCriterion

type ScreenSizeCriterion struct {
	// Name - Screen size using the following format WIDTH**x**HEIGHT.
	Name *string `json:"name,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

ScreenSizeCriterion used to target devices based on the screen resolution of their device.

func (ScreenSizeCriterion) AsAnnouncementFeedbackCriterion

func (ssc ScreenSizeCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsApplicationVersionCriterion

func (ssc ScreenSizeCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsBasicCriterion

func (ssc ScreenSizeCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsBooleanTagCriterion

func (ssc ScreenSizeCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsCarrierCountryCriterion

func (ssc ScreenSizeCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsCarrierNameCriterion

func (ssc ScreenSizeCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsCriterion

func (ssc ScreenSizeCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDatapushFeedbackCriterion

func (ssc ScreenSizeCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDateTagCriterion

func (ssc ScreenSizeCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDeviceManufacturerCriterion

func (ssc ScreenSizeCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsDeviceModelCriterion

func (ssc ScreenSizeCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsFirmwareVersionCriterion

func (ssc ScreenSizeCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsGeoFencingCriterion

func (ssc ScreenSizeCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsIntegerTagCriterion

func (ssc ScreenSizeCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsLanguageCriterion

func (ssc ScreenSizeCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsLocationCriterion

func (ssc ScreenSizeCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsNetworkTypeCriterion

func (ssc ScreenSizeCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsPollAnswerFeedbackCriterion

func (ssc ScreenSizeCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsPollFeedbackCriterion

func (ssc ScreenSizeCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsScreenSizeCriterion

func (ssc ScreenSizeCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsSegmentCriterion

func (ssc ScreenSizeCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) AsStringTagCriterion

func (ssc ScreenSizeCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the BasicCriterion implementation for ScreenSizeCriterion.

func (ScreenSizeCriterion) MarshalJSON

func (ssc ScreenSizeCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for ScreenSizeCriterion.

type SegmentCriterion

type SegmentCriterion struct {
	// ID - Segment identifier.
	ID *int32 `json:"id,omitempty"`
	// Exclude - If value is true, the criterion will target users that are NOT part of the segment.
	Exclude *bool `json:"exclude,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

SegmentCriterion target devices based on an existing segment.

func (SegmentCriterion) AsAnnouncementFeedbackCriterion

func (sc SegmentCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsApplicationVersionCriterion

func (sc SegmentCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsBasicCriterion

func (sc SegmentCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsBooleanTagCriterion

func (sc SegmentCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsCarrierCountryCriterion

func (sc SegmentCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsCarrierNameCriterion

func (sc SegmentCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsCriterion

func (sc SegmentCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDatapushFeedbackCriterion

func (sc SegmentCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDateTagCriterion

func (sc SegmentCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDeviceManufacturerCriterion

func (sc SegmentCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsDeviceModelCriterion

func (sc SegmentCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsFirmwareVersionCriterion

func (sc SegmentCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsGeoFencingCriterion

func (sc SegmentCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsIntegerTagCriterion

func (sc SegmentCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsLanguageCriterion

func (sc SegmentCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsLocationCriterion

func (sc SegmentCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsNetworkTypeCriterion

func (sc SegmentCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsPollAnswerFeedbackCriterion

func (sc SegmentCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsPollFeedbackCriterion

func (sc SegmentCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsScreenSizeCriterion

func (sc SegmentCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsSegmentCriterion

func (sc SegmentCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) AsStringTagCriterion

func (sc SegmentCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the BasicCriterion implementation for SegmentCriterion.

func (SegmentCriterion) MarshalJSON

func (sc SegmentCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for SegmentCriterion.

type StringTagCriterion

type StringTagCriterion struct {
	// Name - The name of the custom tag.
	Name *string `json:"name,omitempty"`
	// Value - A custom string to match for tag value (? and * characters can be used to perform wildcard matching).
	Value *string `json:"value,omitempty"`
	// Type - Possible values include: 'TypeCriterion', 'TypeCarrierName', 'TypeCarrierCountry', 'TypeFirmwareVersion', 'TypeDeviceManufacturer', 'TypeDeviceModel', 'TypeApplicationVersion', 'TypeNetworkType', 'TypeLanguage', 'TypeScreenSize', 'TypeLocation', 'TypeGeoFencing', 'TypeAnnouncementFeedback', 'TypePollFeedback', 'TypePollAnswerFeedback', 'TypeDatapushFeedback', 'TypeSegment', 'TypeStringTag', 'TypeDateTag', 'TypeIntegerTag', 'TypeBooleanTag'
	Type Type `json:"type,omitempty"`
}

StringTagCriterion target devices based on a string tag value.

func (StringTagCriterion) AsAnnouncementFeedbackCriterion

func (stc StringTagCriterion) AsAnnouncementFeedbackCriterion() (*AnnouncementFeedbackCriterion, bool)

AsAnnouncementFeedbackCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsApplicationVersionCriterion

func (stc StringTagCriterion) AsApplicationVersionCriterion() (*ApplicationVersionCriterion, bool)

AsApplicationVersionCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsBasicCriterion

func (stc StringTagCriterion) AsBasicCriterion() (BasicCriterion, bool)

AsBasicCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsBooleanTagCriterion

func (stc StringTagCriterion) AsBooleanTagCriterion() (*BooleanTagCriterion, bool)

AsBooleanTagCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsCarrierCountryCriterion

func (stc StringTagCriterion) AsCarrierCountryCriterion() (*CarrierCountryCriterion, bool)

AsCarrierCountryCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsCarrierNameCriterion

func (stc StringTagCriterion) AsCarrierNameCriterion() (*CarrierNameCriterion, bool)

AsCarrierNameCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsCriterion

func (stc StringTagCriterion) AsCriterion() (*Criterion, bool)

AsCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDatapushFeedbackCriterion

func (stc StringTagCriterion) AsDatapushFeedbackCriterion() (*DatapushFeedbackCriterion, bool)

AsDatapushFeedbackCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDateTagCriterion

func (stc StringTagCriterion) AsDateTagCriterion() (*DateTagCriterion, bool)

AsDateTagCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDeviceManufacturerCriterion

func (stc StringTagCriterion) AsDeviceManufacturerCriterion() (*DeviceManufacturerCriterion, bool)

AsDeviceManufacturerCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsDeviceModelCriterion

func (stc StringTagCriterion) AsDeviceModelCriterion() (*DeviceModelCriterion, bool)

AsDeviceModelCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsFirmwareVersionCriterion

func (stc StringTagCriterion) AsFirmwareVersionCriterion() (*FirmwareVersionCriterion, bool)

AsFirmwareVersionCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsGeoFencingCriterion

func (stc StringTagCriterion) AsGeoFencingCriterion() (*GeoFencingCriterion, bool)

AsGeoFencingCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsIntegerTagCriterion

func (stc StringTagCriterion) AsIntegerTagCriterion() (*IntegerTagCriterion, bool)

AsIntegerTagCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsLanguageCriterion

func (stc StringTagCriterion) AsLanguageCriterion() (*LanguageCriterion, bool)

AsLanguageCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsLocationCriterion

func (stc StringTagCriterion) AsLocationCriterion() (*LocationCriterion, bool)

AsLocationCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsNetworkTypeCriterion

func (stc StringTagCriterion) AsNetworkTypeCriterion() (*NetworkTypeCriterion, bool)

AsNetworkTypeCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsPollAnswerFeedbackCriterion

func (stc StringTagCriterion) AsPollAnswerFeedbackCriterion() (*PollAnswerFeedbackCriterion, bool)

AsPollAnswerFeedbackCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsPollFeedbackCriterion

func (stc StringTagCriterion) AsPollFeedbackCriterion() (*PollFeedbackCriterion, bool)

AsPollFeedbackCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsScreenSizeCriterion

func (stc StringTagCriterion) AsScreenSizeCriterion() (*ScreenSizeCriterion, bool)

AsScreenSizeCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsSegmentCriterion

func (stc StringTagCriterion) AsSegmentCriterion() (*SegmentCriterion, bool)

AsSegmentCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) AsStringTagCriterion

func (stc StringTagCriterion) AsStringTagCriterion() (*StringTagCriterion, bool)

AsStringTagCriterion is the BasicCriterion implementation for StringTagCriterion.

func (StringTagCriterion) MarshalJSON

func (stc StringTagCriterion) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for StringTagCriterion.

type SupportedPlatformsClient

type SupportedPlatformsClient struct {
	BaseClient
}

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

List lists supported platforms for Engagement applications.

func (SupportedPlatformsClient) ListPreparer

func (client SupportedPlatformsClient) ListPreparer(ctx context.Context) (*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 - List of supported platforms.
	Platforms *[]string `json:"platforms,omitempty"`
}

SupportedPlatformsListResult ...

type Type

type Type string

Type enumerates the values for type.

const (
	// TypeAnnouncementFeedback ...
	TypeAnnouncementFeedback Type = "announcement-feedback"
	// TypeApplicationVersion ...
	TypeApplicationVersion Type = "application-version"
	// TypeBooleanTag ...
	TypeBooleanTag Type = "boolean-tag"
	// TypeCarrierCountry ...
	TypeCarrierCountry Type = "carrier-country"
	// TypeCarrierName ...
	TypeCarrierName Type = "carrier-name"
	// TypeCriterion ...
	TypeCriterion Type = "Criterion"
	// TypeDatapushFeedback ...
	TypeDatapushFeedback Type = "datapush-feedback"
	// TypeDateTag ...
	TypeDateTag Type = "date-tag"
	// TypeDeviceManufacturer ...
	TypeDeviceManufacturer Type = "device-manufacturer"
	// TypeDeviceModel ...
	TypeDeviceModel Type = "device-model"
	// TypeFirmwareVersion ...
	TypeFirmwareVersion Type = "firmware-version"
	// TypeGeoFencing ...
	TypeGeoFencing Type = "geo-fencing"
	// TypeIntegerTag ...
	TypeIntegerTag Type = "integer-tag"
	// TypeLanguage ...
	TypeLanguage Type = "language"
	// TypeLocation ...
	TypeLocation Type = "location"
	// TypeNetworkType ...
	TypeNetworkType Type = "network-type"
	// TypePollAnswerFeedback ...
	TypePollAnswerFeedback Type = "poll-answer-feedback"
	// TypePollFeedback ...
	TypePollFeedback Type = "poll-feedback"
	// TypeScreenSize ...
	TypeScreenSize Type = "screen-size"
	// TypeSegment ...
	TypeSegment Type = "segment"
	// TypeStringTag ...
	TypeStringTag Type = "string-tag"
)

func PossibleTypeValues

func PossibleTypeValues() []Type

PossibleTypeValues returns an array of possible values for the Type const type.

type TypeBasicFilter

type TypeBasicFilter string

TypeBasicFilter enumerates the values for type basic filter.

const (
	// TypeAppInfo ...
	TypeAppInfo TypeBasicFilter = "app-info"
	// TypeEngageActiveUsers ...
	TypeEngageActiveUsers TypeBasicFilter = "engage-active-users"
	// TypeEngageIdleUsers ...
	TypeEngageIdleUsers TypeBasicFilter = "engage-idle-users"
	// TypeEngageNewUsers ...
	TypeEngageNewUsers TypeBasicFilter = "engage-new-users"
	// TypeEngageOldUsers ...
	TypeEngageOldUsers TypeBasicFilter = "engage-old-users"
	// TypeEngageSubset ...
	TypeEngageSubset TypeBasicFilter = "engage-subset"
	// TypeFilter ...
	TypeFilter TypeBasicFilter = "Filter"
	// TypeNativePushEnabled ...
	TypeNativePushEnabled TypeBasicFilter = "native-push-enabled"
	// TypePushQuota ...
	TypePushQuota TypeBasicFilter = "push-quota"
)

func PossibleTypeBasicFilterValues

func PossibleTypeBasicFilterValues() []TypeBasicFilter

PossibleTypeBasicFilterValues returns an array of possible values for the TypeBasicFilter const type.

Jump to

Keyboard shortcuts

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