generated

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`)
	XmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`)
)
View Source
var (
	// ContextAccessToken takes a string oauth2 access token as authentication for the request.
	ContextAccessToken = contextKey("accesstoken")

	// ContextServerIndex uses a server configuration from the index.
	ContextServerIndex = contextKey("serverIndex")

	// ContextOperationServerIndices uses a server configuration from the index mapping.
	ContextOperationServerIndices = contextKey("serverOperationIndices")

	// ContextServerVariables overrides a server configuration variables.
	ContextServerVariables = contextKey("serverVariables")

	// ContextOperationServerVariables overrides a server configuration variables using operation specific values.
	ContextOperationServerVariables = contextKey("serverOperationVariables")
)
View Source
var AllowedLiveActivityActionTypeEnumValues = []LiveActivityActionType{
	"open_url",
	"webhook",
}

All allowed values of LiveActivityActionType enum

View Source
var AllowedLiveActivityWebhookMethodEnumValues = []LiveActivityWebhookMethod{
	"GET",
	"POST",
}

All allowed values of LiveActivityWebhookMethod enum

View Source
var AllowedPushNotificationActionTypeEnumValues = []PushNotificationActionType{
	"open_url",
	"webhook",
}

All allowed values of PushNotificationActionType enum

View Source
var AllowedPushNotificationWebhookMethodEnumValues = []PushNotificationWebhookMethod{
	"GET",
	"POST",
}

All allowed values of PushNotificationWebhookMethod enum

Functions

func CacheExpires

func CacheExpires(r *http.Response) time.Time

CacheExpires helper function to determine remaining time before repeating a request.

func IsNil

func IsNil(i interface{}) bool

IsNil checks if an input is nil

func PtrBool

func PtrBool(v bool) *bool

PtrBool is a helper routine that returns a pointer to given boolean value.

func PtrFloat32

func PtrFloat32(v float32) *float32

PtrFloat32 is a helper routine that returns a pointer to given float value.

func PtrFloat64

func PtrFloat64(v float64) *float64

PtrFloat64 is a helper routine that returns a pointer to given float value.

func PtrInt

func PtrInt(v int) *int

PtrInt is a helper routine that returns a pointer to given integer value.

func PtrInt32

func PtrInt32(v int32) *int32

PtrInt32 is a helper routine that returns a pointer to given integer value.

func PtrInt64

func PtrInt64(v int64) *int64

PtrInt64 is a helper routine that returns a pointer to given integer value.

func PtrString

func PtrString(v string) *string

PtrString is a helper routine that returns a pointer to given string value.

func PtrTime

func PtrTime(v time.Time) *time.Time

PtrTime is helper routine that returns a pointer to given Time value.

Types

type APIClient

type APIClient struct {
	LiveActivitiesAPI *LiveActivitiesAPIService

	PushNotificationsAPI *PushNotificationsAPIService
	// contains filtered or unexported fields
}

APIClient manages communication with the ActivitySmith API API v1.0.0 In most cases there should be only one, shared, APIClient.

func NewAPIClient

func NewAPIClient(cfg *Configuration) *APIClient

NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.

func (*APIClient) GetConfig

func (c *APIClient) GetConfig() *Configuration

Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior

type APIKey

type APIKey struct {
	Key    string
	Prefix string
}

APIKey provides API key based authentication to a request passed via context using ContextAPIKey

type APIResponse

type APIResponse struct {
	*http.Response `json:"-"`
	Message        string `json:"message,omitempty"`
	// Operation is the name of the OpenAPI operation.
	Operation string `json:"operation,omitempty"`
	// RequestURL is the request URL. This value is always available, even if the
	// embedded *http.Response is nil.
	RequestURL string `json:"url,omitempty"`
	// Method is the HTTP method used for the request.  This value is always
	// available, even if the embedded *http.Response is nil.
	Method string `json:"method,omitempty"`
	// Payload holds the contents of the response body (which may be nil or empty).
	// This is provided here as the raw response.Body() reader will have already
	// been drained.
	Payload []byte `json:"-"`
}

APIResponse stores the API response returned by the server.

func NewAPIResponse

func NewAPIResponse(r *http.Response) *APIResponse

NewAPIResponse returns a new APIResponse object.

func NewAPIResponseWithError

func NewAPIResponseWithError(errorMessage string) *APIResponse

NewAPIResponseWithError returns a new APIResponse object with the provided error message.

type ActivityMetric added in v1.1.0

type ActivityMetric struct {
	Label                string  `json:"label"`
	Value                float32 `json:"value"`
	Unit                 *string `json:"unit,omitempty"`
	AdditionalProperties map[string]interface{}
}

ActivityMetric struct for ActivityMetric

func NewActivityMetric added in v1.1.0

func NewActivityMetric(label string, value float32) *ActivityMetric

NewActivityMetric instantiates a new ActivityMetric object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewActivityMetricWithDefaults added in v1.1.0

func NewActivityMetricWithDefaults() *ActivityMetric

NewActivityMetricWithDefaults instantiates a new ActivityMetric object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ActivityMetric) GetLabel added in v1.1.0

func (o *ActivityMetric) GetLabel() string

GetLabel returns the Label field value

func (*ActivityMetric) GetLabelOk added in v1.1.0

func (o *ActivityMetric) GetLabelOk() (*string, bool)

GetLabelOk returns a tuple with the Label field value and a boolean to check if the value has been set.

func (*ActivityMetric) GetUnit added in v1.1.0

func (o *ActivityMetric) GetUnit() string

GetUnit returns the Unit field value if set, zero value otherwise.

func (*ActivityMetric) GetUnitOk added in v1.1.0

func (o *ActivityMetric) GetUnitOk() (*string, bool)

GetUnitOk returns a tuple with the Unit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ActivityMetric) GetValue added in v1.1.0

func (o *ActivityMetric) GetValue() float32

GetValue returns the Value field value

func (*ActivityMetric) GetValueOk added in v1.1.0

func (o *ActivityMetric) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value and a boolean to check if the value has been set.

func (*ActivityMetric) HasUnit added in v1.1.0

func (o *ActivityMetric) HasUnit() bool

HasUnit returns a boolean if a field has been set.

func (ActivityMetric) MarshalJSON added in v1.1.0

func (o ActivityMetric) MarshalJSON() ([]byte, error)

func (*ActivityMetric) SetLabel added in v1.1.0

func (o *ActivityMetric) SetLabel(v string)

SetLabel sets field value

func (*ActivityMetric) SetUnit added in v1.1.0

func (o *ActivityMetric) SetUnit(v string)

SetUnit gets a reference to the given string and assigns it to the Unit field.

func (*ActivityMetric) SetValue added in v1.1.0

func (o *ActivityMetric) SetValue(v float32)

SetValue sets field value

func (ActivityMetric) ToMap added in v1.1.0

func (o ActivityMetric) ToMap() (map[string]interface{}, error)

func (*ActivityMetric) UnmarshalJSON added in v1.1.0

func (o *ActivityMetric) UnmarshalJSON(data []byte) (err error)

type AlertPayload added in v0.1.2

type AlertPayload struct {
	Title                *string `json:"title,omitempty"`
	Body                 *string `json:"body,omitempty"`
	AdditionalProperties map[string]interface{}
}

AlertPayload struct for AlertPayload

func NewAlertPayload added in v0.1.2

func NewAlertPayload() *AlertPayload

NewAlertPayload instantiates a new AlertPayload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewAlertPayloadWithDefaults added in v0.1.2

func NewAlertPayloadWithDefaults() *AlertPayload

NewAlertPayloadWithDefaults instantiates a new AlertPayload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*AlertPayload) GetBody added in v0.1.2

func (o *AlertPayload) GetBody() string

GetBody returns the Body field value if set, zero value otherwise.

func (*AlertPayload) GetBodyOk added in v0.1.2

func (o *AlertPayload) GetBodyOk() (*string, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertPayload) GetTitle added in v0.1.2

func (o *AlertPayload) GetTitle() string

GetTitle returns the Title field value if set, zero value otherwise.

func (*AlertPayload) GetTitleOk added in v0.1.2

func (o *AlertPayload) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value if set, nil otherwise and a boolean to check if the value has been set.

func (*AlertPayload) HasBody added in v0.1.2

func (o *AlertPayload) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*AlertPayload) HasTitle added in v0.1.2

func (o *AlertPayload) HasTitle() bool

HasTitle returns a boolean if a field has been set.

func (AlertPayload) MarshalJSON added in v0.1.2

func (o AlertPayload) MarshalJSON() ([]byte, error)

func (*AlertPayload) SetBody added in v0.1.2

func (o *AlertPayload) SetBody(v string)

SetBody gets a reference to the given string and assigns it to the Body field.

func (*AlertPayload) SetTitle added in v0.1.2

func (o *AlertPayload) SetTitle(v string)

SetTitle gets a reference to the given string and assigns it to the Title field.

func (AlertPayload) ToMap added in v0.1.2

func (o AlertPayload) ToMap() (map[string]interface{}, error)

func (*AlertPayload) UnmarshalJSON added in v0.1.2

func (o *AlertPayload) UnmarshalJSON(data []byte) (err error)

type ApiEndLiveActivityRequest

type ApiEndLiveActivityRequest struct {
	ApiService *LiveActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiEndLiveActivityRequest) Execute

func (ApiEndLiveActivityRequest) LiveActivityEndRequest

func (r ApiEndLiveActivityRequest) LiveActivityEndRequest(liveActivityEndRequest LiveActivityEndRequest) ApiEndLiveActivityRequest

type ApiEndLiveActivityStreamRequest added in v1.1.0

type ApiEndLiveActivityStreamRequest struct {
	ApiService *LiveActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiEndLiveActivityStreamRequest) Execute added in v1.1.0

func (ApiEndLiveActivityStreamRequest) LiveActivityStreamDeleteRequest added in v1.1.0

func (r ApiEndLiveActivityStreamRequest) LiveActivityStreamDeleteRequest(liveActivityStreamDeleteRequest LiveActivityStreamDeleteRequest) ApiEndLiveActivityStreamRequest

type ApiReconcileLiveActivityStreamRequest added in v1.1.0

type ApiReconcileLiveActivityStreamRequest struct {
	ApiService *LiveActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiReconcileLiveActivityStreamRequest) Execute added in v1.1.0

func (ApiReconcileLiveActivityStreamRequest) LiveActivityStreamRequest added in v1.1.0

func (r ApiReconcileLiveActivityStreamRequest) LiveActivityStreamRequest(liveActivityStreamRequest LiveActivityStreamRequest) ApiReconcileLiveActivityStreamRequest

type ApiSendPushNotificationRequest

type ApiSendPushNotificationRequest struct {
	ApiService *PushNotificationsAPIService
	// contains filtered or unexported fields
}

func (ApiSendPushNotificationRequest) Execute

func (ApiSendPushNotificationRequest) PushNotificationRequest

func (r ApiSendPushNotificationRequest) PushNotificationRequest(pushNotificationRequest PushNotificationRequest) ApiSendPushNotificationRequest

type ApiStartLiveActivityRequest

type ApiStartLiveActivityRequest struct {
	ApiService *LiveActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiStartLiveActivityRequest) Execute

func (ApiStartLiveActivityRequest) LiveActivityStartRequest

func (r ApiStartLiveActivityRequest) LiveActivityStartRequest(liveActivityStartRequest LiveActivityStartRequest) ApiStartLiveActivityRequest

type ApiUpdateLiveActivityRequest

type ApiUpdateLiveActivityRequest struct {
	ApiService *LiveActivitiesAPIService
	// contains filtered or unexported fields
}

func (ApiUpdateLiveActivityRequest) Execute

func (ApiUpdateLiveActivityRequest) LiveActivityUpdateRequest

func (r ApiUpdateLiveActivityRequest) LiveActivityUpdateRequest(liveActivityUpdateRequest LiveActivityUpdateRequest) ApiUpdateLiveActivityRequest

type BadRequestError added in v0.1.2

type BadRequestError struct {
	Error                string `json:"error"`
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

BadRequestError struct for BadRequestError

func NewBadRequestError added in v0.1.2

func NewBadRequestError(error_ string, message string) *BadRequestError

NewBadRequestError instantiates a new BadRequestError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewBadRequestErrorWithDefaults added in v0.1.2

func NewBadRequestErrorWithDefaults() *BadRequestError

NewBadRequestErrorWithDefaults instantiates a new BadRequestError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*BadRequestError) GetError added in v0.1.2

func (o *BadRequestError) GetError() string

GetError returns the Error field value

func (*BadRequestError) GetErrorOk added in v0.1.2

func (o *BadRequestError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*BadRequestError) GetMessage added in v0.1.2

func (o *BadRequestError) GetMessage() string

GetMessage returns the Message field value

func (*BadRequestError) GetMessageOk added in v0.1.2

func (o *BadRequestError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (BadRequestError) MarshalJSON added in v0.1.2

func (o BadRequestError) MarshalJSON() ([]byte, error)

func (*BadRequestError) SetError added in v0.1.2

func (o *BadRequestError) SetError(v string)

SetError sets field value

func (*BadRequestError) SetMessage added in v0.1.2

func (o *BadRequestError) SetMessage(v string)

SetMessage sets field value

func (BadRequestError) ToMap added in v0.1.2

func (o BadRequestError) ToMap() (map[string]interface{}, error)

func (*BadRequestError) UnmarshalJSON added in v0.1.2

func (o *BadRequestError) UnmarshalJSON(data []byte) (err error)

type BasicAuth

type BasicAuth struct {
	UserName string `json:"userName,omitempty"`
	Password string `json:"password,omitempty"`
}

BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth

type ChannelTarget added in v0.1.2

type ChannelTarget struct {
	// Channel slugs. When omitted, API key scope determines recipients.
	Channels             []string `json:"channels"`
	AdditionalProperties map[string]interface{}
}

ChannelTarget struct for ChannelTarget

func NewChannelTarget added in v0.1.2

func NewChannelTarget(channels []string) *ChannelTarget

NewChannelTarget instantiates a new ChannelTarget object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewChannelTargetWithDefaults added in v0.1.2

func NewChannelTargetWithDefaults() *ChannelTarget

NewChannelTargetWithDefaults instantiates a new ChannelTarget object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ChannelTarget) GetChannels added in v0.1.2

func (o *ChannelTarget) GetChannels() []string

GetChannels returns the Channels field value

func (*ChannelTarget) GetChannelsOk added in v0.1.2

func (o *ChannelTarget) GetChannelsOk() ([]string, bool)

GetChannelsOk returns a tuple with the Channels field value and a boolean to check if the value has been set.

func (ChannelTarget) MarshalJSON added in v0.1.2

func (o ChannelTarget) MarshalJSON() ([]byte, error)

func (*ChannelTarget) SetChannels added in v0.1.2

func (o *ChannelTarget) SetChannels(v []string)

SetChannels sets field value

func (ChannelTarget) ToMap added in v0.1.2

func (o ChannelTarget) ToMap() (map[string]interface{}, error)

func (*ChannelTarget) UnmarshalJSON added in v0.1.2

func (o *ChannelTarget) UnmarshalJSON(data []byte) (err error)

type Configuration

type Configuration struct {
	Host             string            `json:"host,omitempty"`
	Scheme           string            `json:"scheme,omitempty"`
	DefaultHeader    map[string]string `json:"defaultHeader,omitempty"`
	UserAgent        string            `json:"userAgent,omitempty"`
	Debug            bool              `json:"debug,omitempty"`
	Servers          ServerConfigurations
	OperationServers map[string]ServerConfigurations
	HTTPClient       *http.Client
}

Configuration stores the configuration of the API client

func NewConfiguration

func NewConfiguration() *Configuration

NewConfiguration returns a new Configuration object

func (*Configuration) AddDefaultHeader

func (c *Configuration) AddDefaultHeader(key string, value string)

AddDefaultHeader adds a new HTTP header to the default header in the request

func (*Configuration) ServerURL

func (c *Configuration) ServerURL(index int, variables map[string]string) (string, error)

ServerURL returns URL based on server settings

func (*Configuration) ServerURLWithContext

func (c *Configuration) ServerURLWithContext(ctx context.Context, endpoint string) (string, error)

ServerURLWithContext returns a new server URL given an endpoint

type ContentStateEnd

type ContentStateEnd struct {
	Title    string  `json:"title"`
	Subtitle *string `json:"subtitle,omitempty"`
	// Total number of steps. Use for type=segmented_progress. Optional on end, and safe to change if the final workflow used more or fewer steps than originally planned.
	NumberOfSteps *int32 `json:"number_of_steps,omitempty"`
	// Current step. Use for type=segmented_progress.
	CurrentStep *int32 `json:"current_step,omitempty"`
	// Progress percentage (0–100). Use for type=progress. Takes precedence over value/upper_limit if both are provided.
	Percentage *float32 `json:"percentage,omitempty"`
	// Current progress value. Use with upper_limit for type=progress.
	Value *float32 `json:"value,omitempty"`
	// Maximum progress value. Use with value for type=progress.
	UpperLimit *float32 `json:"upper_limit,omitempty"`
	// Use for type=metrics.
	Metrics []ActivityMetric `json:"metrics,omitempty"`
	// Optional. When omitted, the API uses the existing Live Activity type.
	Type *string `json:"type,omitempty"`
	// Optional. Accent color for the Live Activity. Defaults to blue.
	Color *string `json:"color,omitempty"`
	// Optional. Overrides color for the current step. Only applies to type=segmented_progress.
	StepColor *string `json:"step_color,omitempty"`
	// Optional. Colors for completed steps. When used with segmented_progress, the array length should match current_step.
	StepColors []string `json:"step_colors,omitempty"`
	// Optional. Minutes before the ended Live Activity is dismissed. Default 3. Set 0 for immediate dismissal. iOS will dismiss ended Live Activities after ~4 hours max.
	AutoDismissMinutes   *int32 `json:"auto_dismiss_minutes,omitempty"`
	AdditionalProperties map[string]interface{}
}

ContentStateEnd End payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. Type is optional when ending an existing activity. You can send an updated number_of_steps here if the workflow changed after start.

func NewContentStateEnd

func NewContentStateEnd(title string) *ContentStateEnd

NewContentStateEnd instantiates a new ContentStateEnd object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentStateEndWithDefaults

func NewContentStateEndWithDefaults() *ContentStateEnd

NewContentStateEndWithDefaults instantiates a new ContentStateEnd object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentStateEnd) GetAutoDismissMinutes

func (o *ContentStateEnd) GetAutoDismissMinutes() int32

GetAutoDismissMinutes returns the AutoDismissMinutes field value if set, zero value otherwise.

func (*ContentStateEnd) GetAutoDismissMinutesOk

func (o *ContentStateEnd) GetAutoDismissMinutesOk() (*int32, bool)

GetAutoDismissMinutesOk returns a tuple with the AutoDismissMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetColor

func (o *ContentStateEnd) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*ContentStateEnd) GetColorOk

func (o *ContentStateEnd) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetCurrentStep

func (o *ContentStateEnd) GetCurrentStep() int32

GetCurrentStep returns the CurrentStep field value if set, zero value otherwise.

func (*ContentStateEnd) GetCurrentStepOk

func (o *ContentStateEnd) GetCurrentStepOk() (*int32, bool)

GetCurrentStepOk returns a tuple with the CurrentStep field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetMetrics added in v1.1.0

func (o *ContentStateEnd) GetMetrics() []ActivityMetric

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*ContentStateEnd) GetMetricsOk added in v1.1.0

func (o *ContentStateEnd) GetMetricsOk() ([]ActivityMetric, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetNumberOfSteps

func (o *ContentStateEnd) GetNumberOfSteps() int32

GetNumberOfSteps returns the NumberOfSteps field value if set, zero value otherwise.

func (*ContentStateEnd) GetNumberOfStepsOk

func (o *ContentStateEnd) GetNumberOfStepsOk() (*int32, bool)

GetNumberOfStepsOk returns a tuple with the NumberOfSteps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetPercentage added in v0.1.7

func (o *ContentStateEnd) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*ContentStateEnd) GetPercentageOk added in v0.1.7

func (o *ContentStateEnd) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetStepColor

func (o *ContentStateEnd) GetStepColor() string

GetStepColor returns the StepColor field value if set, zero value otherwise.

func (*ContentStateEnd) GetStepColorOk

func (o *ContentStateEnd) GetStepColorOk() (*string, bool)

GetStepColorOk returns a tuple with the StepColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetStepColors added in v1.1.0

func (o *ContentStateEnd) GetStepColors() []string

GetStepColors returns the StepColors field value if set, zero value otherwise.

func (*ContentStateEnd) GetStepColorsOk added in v1.1.0

func (o *ContentStateEnd) GetStepColorsOk() ([]string, bool)

GetStepColorsOk returns a tuple with the StepColors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetSubtitle

func (o *ContentStateEnd) GetSubtitle() string

GetSubtitle returns the Subtitle field value if set, zero value otherwise.

func (*ContentStateEnd) GetSubtitleOk

func (o *ContentStateEnd) GetSubtitleOk() (*string, bool)

GetSubtitleOk returns a tuple with the Subtitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetTitle

func (o *ContentStateEnd) GetTitle() string

GetTitle returns the Title field value

func (*ContentStateEnd) GetTitleOk

func (o *ContentStateEnd) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ContentStateEnd) GetType added in v0.1.7

func (o *ContentStateEnd) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ContentStateEnd) GetTypeOk added in v0.1.7

func (o *ContentStateEnd) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetUpperLimit added in v0.1.7

func (o *ContentStateEnd) GetUpperLimit() float32

GetUpperLimit returns the UpperLimit field value if set, zero value otherwise.

func (*ContentStateEnd) GetUpperLimitOk added in v0.1.7

func (o *ContentStateEnd) GetUpperLimitOk() (*float32, bool)

GetUpperLimitOk returns a tuple with the UpperLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) GetValue added in v0.1.7

func (o *ContentStateEnd) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*ContentStateEnd) GetValueOk added in v0.1.7

func (o *ContentStateEnd) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateEnd) HasAutoDismissMinutes

func (o *ContentStateEnd) HasAutoDismissMinutes() bool

HasAutoDismissMinutes returns a boolean if a field has been set.

func (*ContentStateEnd) HasColor

func (o *ContentStateEnd) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ContentStateEnd) HasCurrentStep added in v0.1.7

func (o *ContentStateEnd) HasCurrentStep() bool

HasCurrentStep returns a boolean if a field has been set.

func (*ContentStateEnd) HasMetrics added in v1.1.0

func (o *ContentStateEnd) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*ContentStateEnd) HasNumberOfSteps

func (o *ContentStateEnd) HasNumberOfSteps() bool

HasNumberOfSteps returns a boolean if a field has been set.

func (*ContentStateEnd) HasPercentage added in v0.1.7

func (o *ContentStateEnd) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (*ContentStateEnd) HasStepColor

func (o *ContentStateEnd) HasStepColor() bool

HasStepColor returns a boolean if a field has been set.

func (*ContentStateEnd) HasStepColors added in v1.1.0

func (o *ContentStateEnd) HasStepColors() bool

HasStepColors returns a boolean if a field has been set.

func (*ContentStateEnd) HasSubtitle

func (o *ContentStateEnd) HasSubtitle() bool

HasSubtitle returns a boolean if a field has been set.

func (*ContentStateEnd) HasType added in v0.1.7

func (o *ContentStateEnd) HasType() bool

HasType returns a boolean if a field has been set.

func (*ContentStateEnd) HasUpperLimit added in v0.1.7

func (o *ContentStateEnd) HasUpperLimit() bool

HasUpperLimit returns a boolean if a field has been set.

func (*ContentStateEnd) HasValue added in v0.1.7

func (o *ContentStateEnd) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ContentStateEnd) MarshalJSON

func (o ContentStateEnd) MarshalJSON() ([]byte, error)

func (*ContentStateEnd) SetAutoDismissMinutes

func (o *ContentStateEnd) SetAutoDismissMinutes(v int32)

SetAutoDismissMinutes gets a reference to the given int32 and assigns it to the AutoDismissMinutes field.

func (*ContentStateEnd) SetColor

func (o *ContentStateEnd) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*ContentStateEnd) SetCurrentStep

func (o *ContentStateEnd) SetCurrentStep(v int32)

SetCurrentStep gets a reference to the given int32 and assigns it to the CurrentStep field.

func (*ContentStateEnd) SetMetrics added in v1.1.0

func (o *ContentStateEnd) SetMetrics(v []ActivityMetric)

SetMetrics gets a reference to the given []ActivityMetric and assigns it to the Metrics field.

func (*ContentStateEnd) SetNumberOfSteps

func (o *ContentStateEnd) SetNumberOfSteps(v int32)

SetNumberOfSteps gets a reference to the given int32 and assigns it to the NumberOfSteps field.

func (*ContentStateEnd) SetPercentage added in v0.1.7

func (o *ContentStateEnd) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (*ContentStateEnd) SetStepColor

func (o *ContentStateEnd) SetStepColor(v string)

SetStepColor gets a reference to the given string and assigns it to the StepColor field.

func (*ContentStateEnd) SetStepColors added in v1.1.0

func (o *ContentStateEnd) SetStepColors(v []string)

SetStepColors gets a reference to the given []string and assigns it to the StepColors field.

func (*ContentStateEnd) SetSubtitle

func (o *ContentStateEnd) SetSubtitle(v string)

SetSubtitle gets a reference to the given string and assigns it to the Subtitle field.

func (*ContentStateEnd) SetTitle

func (o *ContentStateEnd) SetTitle(v string)

SetTitle sets field value

func (*ContentStateEnd) SetType added in v0.1.7

func (o *ContentStateEnd) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ContentStateEnd) SetUpperLimit added in v0.1.7

func (o *ContentStateEnd) SetUpperLimit(v float32)

SetUpperLimit gets a reference to the given float32 and assigns it to the UpperLimit field.

func (*ContentStateEnd) SetValue added in v0.1.7

func (o *ContentStateEnd) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

func (ContentStateEnd) ToMap

func (o ContentStateEnd) ToMap() (map[string]interface{}, error)

func (*ContentStateEnd) UnmarshalJSON

func (o *ContentStateEnd) UnmarshalJSON(data []byte) (err error)

type ContentStateStart

type ContentStateStart struct {
	Title    string  `json:"title"`
	Subtitle *string `json:"subtitle,omitempty"`
	// Total number of steps. Use for type=segmented_progress. This value can be increased or decreased later when updating or ending the same activity.
	NumberOfSteps *int32 `json:"number_of_steps,omitempty"`
	// Current step. Use for type=segmented_progress.
	CurrentStep *int32 `json:"current_step,omitempty"`
	// Progress percentage (0–100). Use for type=progress. Takes precedence over value/upper_limit if both are provided.
	Percentage *float32 `json:"percentage,omitempty"`
	// Current progress value. Use with upper_limit for type=progress.
	Value *float32 `json:"value,omitempty"`
	// Maximum progress value. Use with value for type=progress.
	UpperLimit *float32 `json:"upper_limit,omitempty"`
	// Use for type=metrics.
	Metrics []ActivityMetric `json:"metrics,omitempty"`
	Type    string           `json:"type"`
	// Optional. Accent color for the Live Activity. Defaults to blue.
	Color *string `json:"color,omitempty"`
	// Optional. Overrides color for the current step. Only applies to type=segmented_progress.
	StepColor *string `json:"step_color,omitempty"`
	// Optional. Colors for completed steps. When used with segmented_progress, the array length should match current_step.
	StepColors           []string `json:"step_colors,omitempty"`
	AdditionalProperties map[string]interface{}
}

ContentStateStart Start payload requires title and type. For segmented_progress include number_of_steps and current_step. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. For segmented_progress, number_of_steps is not locked and can be changed in later update or end calls.

func NewContentStateStart

func NewContentStateStart(title string, type_ string) *ContentStateStart

NewContentStateStart instantiates a new ContentStateStart object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentStateStartWithDefaults

func NewContentStateStartWithDefaults() *ContentStateStart

NewContentStateStartWithDefaults instantiates a new ContentStateStart object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentStateStart) GetColor

func (o *ContentStateStart) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*ContentStateStart) GetColorOk

func (o *ContentStateStart) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetCurrentStep

func (o *ContentStateStart) GetCurrentStep() int32

GetCurrentStep returns the CurrentStep field value if set, zero value otherwise.

func (*ContentStateStart) GetCurrentStepOk

func (o *ContentStateStart) GetCurrentStepOk() (*int32, bool)

GetCurrentStepOk returns a tuple with the CurrentStep field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetMetrics added in v1.1.0

func (o *ContentStateStart) GetMetrics() []ActivityMetric

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*ContentStateStart) GetMetricsOk added in v1.1.0

func (o *ContentStateStart) GetMetricsOk() ([]ActivityMetric, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetNumberOfSteps

func (o *ContentStateStart) GetNumberOfSteps() int32

GetNumberOfSteps returns the NumberOfSteps field value if set, zero value otherwise.

func (*ContentStateStart) GetNumberOfStepsOk

func (o *ContentStateStart) GetNumberOfStepsOk() (*int32, bool)

GetNumberOfStepsOk returns a tuple with the NumberOfSteps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetPercentage added in v0.1.7

func (o *ContentStateStart) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*ContentStateStart) GetPercentageOk added in v0.1.7

func (o *ContentStateStart) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetStepColor

func (o *ContentStateStart) GetStepColor() string

GetStepColor returns the StepColor field value if set, zero value otherwise.

func (*ContentStateStart) GetStepColorOk

func (o *ContentStateStart) GetStepColorOk() (*string, bool)

GetStepColorOk returns a tuple with the StepColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetStepColors added in v1.1.0

func (o *ContentStateStart) GetStepColors() []string

GetStepColors returns the StepColors field value if set, zero value otherwise.

func (*ContentStateStart) GetStepColorsOk added in v1.1.0

func (o *ContentStateStart) GetStepColorsOk() ([]string, bool)

GetStepColorsOk returns a tuple with the StepColors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetSubtitle

func (o *ContentStateStart) GetSubtitle() string

GetSubtitle returns the Subtitle field value if set, zero value otherwise.

func (*ContentStateStart) GetSubtitleOk

func (o *ContentStateStart) GetSubtitleOk() (*string, bool)

GetSubtitleOk returns a tuple with the Subtitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetTitle

func (o *ContentStateStart) GetTitle() string

GetTitle returns the Title field value

func (*ContentStateStart) GetTitleOk

func (o *ContentStateStart) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ContentStateStart) GetType

func (o *ContentStateStart) GetType() string

GetType returns the Type field value

func (*ContentStateStart) GetTypeOk

func (o *ContentStateStart) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*ContentStateStart) GetUpperLimit added in v0.1.7

func (o *ContentStateStart) GetUpperLimit() float32

GetUpperLimit returns the UpperLimit field value if set, zero value otherwise.

func (*ContentStateStart) GetUpperLimitOk added in v0.1.7

func (o *ContentStateStart) GetUpperLimitOk() (*float32, bool)

GetUpperLimitOk returns a tuple with the UpperLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) GetValue added in v0.1.7

func (o *ContentStateStart) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*ContentStateStart) GetValueOk added in v0.1.7

func (o *ContentStateStart) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateStart) HasColor

func (o *ContentStateStart) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ContentStateStart) HasCurrentStep added in v0.1.7

func (o *ContentStateStart) HasCurrentStep() bool

HasCurrentStep returns a boolean if a field has been set.

func (*ContentStateStart) HasMetrics added in v1.1.0

func (o *ContentStateStart) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*ContentStateStart) HasNumberOfSteps added in v0.1.7

func (o *ContentStateStart) HasNumberOfSteps() bool

HasNumberOfSteps returns a boolean if a field has been set.

func (*ContentStateStart) HasPercentage added in v0.1.7

func (o *ContentStateStart) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (*ContentStateStart) HasStepColor

func (o *ContentStateStart) HasStepColor() bool

HasStepColor returns a boolean if a field has been set.

func (*ContentStateStart) HasStepColors added in v1.1.0

func (o *ContentStateStart) HasStepColors() bool

HasStepColors returns a boolean if a field has been set.

func (*ContentStateStart) HasSubtitle

func (o *ContentStateStart) HasSubtitle() bool

HasSubtitle returns a boolean if a field has been set.

func (*ContentStateStart) HasUpperLimit added in v0.1.7

func (o *ContentStateStart) HasUpperLimit() bool

HasUpperLimit returns a boolean if a field has been set.

func (*ContentStateStart) HasValue added in v0.1.7

func (o *ContentStateStart) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ContentStateStart) MarshalJSON

func (o ContentStateStart) MarshalJSON() ([]byte, error)

func (*ContentStateStart) SetColor

func (o *ContentStateStart) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*ContentStateStart) SetCurrentStep

func (o *ContentStateStart) SetCurrentStep(v int32)

SetCurrentStep gets a reference to the given int32 and assigns it to the CurrentStep field.

func (*ContentStateStart) SetMetrics added in v1.1.0

func (o *ContentStateStart) SetMetrics(v []ActivityMetric)

SetMetrics gets a reference to the given []ActivityMetric and assigns it to the Metrics field.

func (*ContentStateStart) SetNumberOfSteps

func (o *ContentStateStart) SetNumberOfSteps(v int32)

SetNumberOfSteps gets a reference to the given int32 and assigns it to the NumberOfSteps field.

func (*ContentStateStart) SetPercentage added in v0.1.7

func (o *ContentStateStart) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (*ContentStateStart) SetStepColor

func (o *ContentStateStart) SetStepColor(v string)

SetStepColor gets a reference to the given string and assigns it to the StepColor field.

func (*ContentStateStart) SetStepColors added in v1.1.0

func (o *ContentStateStart) SetStepColors(v []string)

SetStepColors gets a reference to the given []string and assigns it to the StepColors field.

func (*ContentStateStart) SetSubtitle

func (o *ContentStateStart) SetSubtitle(v string)

SetSubtitle gets a reference to the given string and assigns it to the Subtitle field.

func (*ContentStateStart) SetTitle

func (o *ContentStateStart) SetTitle(v string)

SetTitle sets field value

func (*ContentStateStart) SetType

func (o *ContentStateStart) SetType(v string)

SetType sets field value

func (*ContentStateStart) SetUpperLimit added in v0.1.7

func (o *ContentStateStart) SetUpperLimit(v float32)

SetUpperLimit gets a reference to the given float32 and assigns it to the UpperLimit field.

func (*ContentStateStart) SetValue added in v0.1.7

func (o *ContentStateStart) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

func (ContentStateStart) ToMap

func (o ContentStateStart) ToMap() (map[string]interface{}, error)

func (*ContentStateStart) UnmarshalJSON

func (o *ContentStateStart) UnmarshalJSON(data []byte) (err error)

type ContentStateUpdate

type ContentStateUpdate struct {
	Title    string  `json:"title"`
	Subtitle *string `json:"subtitle,omitempty"`
	// Total number of steps. Use for type=segmented_progress. Optional on update, and safe to change if the workflow gains or loses steps.
	NumberOfSteps *int32 `json:"number_of_steps,omitempty"`
	// Current step. Use for type=segmented_progress.
	CurrentStep *int32 `json:"current_step,omitempty"`
	// Progress percentage (0–100). Use for type=progress. Takes precedence over value/upper_limit if both are provided.
	Percentage *float32 `json:"percentage,omitempty"`
	// Current progress value. Use with upper_limit for type=progress.
	Value *float32 `json:"value,omitempty"`
	// Maximum progress value. Use with value for type=progress.
	UpperLimit *float32 `json:"upper_limit,omitempty"`
	// Use for type=metrics.
	Metrics []ActivityMetric `json:"metrics,omitempty"`
	// Optional. When omitted, the API uses the existing Live Activity type.
	Type *string `json:"type,omitempty"`
	// Optional. Accent color for the Live Activity. Defaults to blue.
	Color *string `json:"color,omitempty"`
	// Optional. Overrides color for the current step. Only applies to type=segmented_progress.
	StepColor *string `json:"step_color,omitempty"`
	// Optional. Colors for completed steps. When used with segmented_progress, the array length should match current_step.
	StepColors           []string `json:"step_colors,omitempty"`
	AdditionalProperties map[string]interface{}
}

ContentStateUpdate Update payload requires title. For segmented_progress include current_step and optionally number_of_steps. For progress include percentage or value with upper_limit. For metrics include a non-empty metrics array. Legacy counter/timer/countdown types also use current_step and number_of_steps. Type is optional when updating an existing activity. You can increase or decrease number_of_steps during updates.

func NewContentStateUpdate

func NewContentStateUpdate(title string) *ContentStateUpdate

NewContentStateUpdate instantiates a new ContentStateUpdate object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewContentStateUpdateWithDefaults

func NewContentStateUpdateWithDefaults() *ContentStateUpdate

NewContentStateUpdateWithDefaults instantiates a new ContentStateUpdate object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ContentStateUpdate) GetColor

func (o *ContentStateUpdate) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*ContentStateUpdate) GetColorOk

func (o *ContentStateUpdate) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetCurrentStep

func (o *ContentStateUpdate) GetCurrentStep() int32

GetCurrentStep returns the CurrentStep field value if set, zero value otherwise.

func (*ContentStateUpdate) GetCurrentStepOk

func (o *ContentStateUpdate) GetCurrentStepOk() (*int32, bool)

GetCurrentStepOk returns a tuple with the CurrentStep field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetMetrics added in v1.1.0

func (o *ContentStateUpdate) GetMetrics() []ActivityMetric

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*ContentStateUpdate) GetMetricsOk added in v1.1.0

func (o *ContentStateUpdate) GetMetricsOk() ([]ActivityMetric, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetNumberOfSteps

func (o *ContentStateUpdate) GetNumberOfSteps() int32

GetNumberOfSteps returns the NumberOfSteps field value if set, zero value otherwise.

func (*ContentStateUpdate) GetNumberOfStepsOk

func (o *ContentStateUpdate) GetNumberOfStepsOk() (*int32, bool)

GetNumberOfStepsOk returns a tuple with the NumberOfSteps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetPercentage added in v0.1.7

func (o *ContentStateUpdate) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*ContentStateUpdate) GetPercentageOk added in v0.1.7

func (o *ContentStateUpdate) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetStepColor

func (o *ContentStateUpdate) GetStepColor() string

GetStepColor returns the StepColor field value if set, zero value otherwise.

func (*ContentStateUpdate) GetStepColorOk

func (o *ContentStateUpdate) GetStepColorOk() (*string, bool)

GetStepColorOk returns a tuple with the StepColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetStepColors added in v1.1.0

func (o *ContentStateUpdate) GetStepColors() []string

GetStepColors returns the StepColors field value if set, zero value otherwise.

func (*ContentStateUpdate) GetStepColorsOk added in v1.1.0

func (o *ContentStateUpdate) GetStepColorsOk() ([]string, bool)

GetStepColorsOk returns a tuple with the StepColors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetSubtitle

func (o *ContentStateUpdate) GetSubtitle() string

GetSubtitle returns the Subtitle field value if set, zero value otherwise.

func (*ContentStateUpdate) GetSubtitleOk

func (o *ContentStateUpdate) GetSubtitleOk() (*string, bool)

GetSubtitleOk returns a tuple with the Subtitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetTitle

func (o *ContentStateUpdate) GetTitle() string

GetTitle returns the Title field value

func (*ContentStateUpdate) GetTitleOk

func (o *ContentStateUpdate) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetType added in v0.1.7

func (o *ContentStateUpdate) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*ContentStateUpdate) GetTypeOk added in v0.1.7

func (o *ContentStateUpdate) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetUpperLimit added in v0.1.7

func (o *ContentStateUpdate) GetUpperLimit() float32

GetUpperLimit returns the UpperLimit field value if set, zero value otherwise.

func (*ContentStateUpdate) GetUpperLimitOk added in v0.1.7

func (o *ContentStateUpdate) GetUpperLimitOk() (*float32, bool)

GetUpperLimitOk returns a tuple with the UpperLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) GetValue added in v0.1.7

func (o *ContentStateUpdate) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*ContentStateUpdate) GetValueOk added in v0.1.7

func (o *ContentStateUpdate) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*ContentStateUpdate) HasColor

func (o *ContentStateUpdate) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*ContentStateUpdate) HasCurrentStep added in v0.1.7

func (o *ContentStateUpdate) HasCurrentStep() bool

HasCurrentStep returns a boolean if a field has been set.

func (*ContentStateUpdate) HasMetrics added in v1.1.0

func (o *ContentStateUpdate) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*ContentStateUpdate) HasNumberOfSteps

func (o *ContentStateUpdate) HasNumberOfSteps() bool

HasNumberOfSteps returns a boolean if a field has been set.

func (*ContentStateUpdate) HasPercentage added in v0.1.7

func (o *ContentStateUpdate) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (*ContentStateUpdate) HasStepColor

func (o *ContentStateUpdate) HasStepColor() bool

HasStepColor returns a boolean if a field has been set.

func (*ContentStateUpdate) HasStepColors added in v1.1.0

func (o *ContentStateUpdate) HasStepColors() bool

HasStepColors returns a boolean if a field has been set.

func (*ContentStateUpdate) HasSubtitle

func (o *ContentStateUpdate) HasSubtitle() bool

HasSubtitle returns a boolean if a field has been set.

func (*ContentStateUpdate) HasType added in v0.1.7

func (o *ContentStateUpdate) HasType() bool

HasType returns a boolean if a field has been set.

func (*ContentStateUpdate) HasUpperLimit added in v0.1.7

func (o *ContentStateUpdate) HasUpperLimit() bool

HasUpperLimit returns a boolean if a field has been set.

func (*ContentStateUpdate) HasValue added in v0.1.7

func (o *ContentStateUpdate) HasValue() bool

HasValue returns a boolean if a field has been set.

func (ContentStateUpdate) MarshalJSON

func (o ContentStateUpdate) MarshalJSON() ([]byte, error)

func (*ContentStateUpdate) SetColor

func (o *ContentStateUpdate) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*ContentStateUpdate) SetCurrentStep

func (o *ContentStateUpdate) SetCurrentStep(v int32)

SetCurrentStep gets a reference to the given int32 and assigns it to the CurrentStep field.

func (*ContentStateUpdate) SetMetrics added in v1.1.0

func (o *ContentStateUpdate) SetMetrics(v []ActivityMetric)

SetMetrics gets a reference to the given []ActivityMetric and assigns it to the Metrics field.

func (*ContentStateUpdate) SetNumberOfSteps

func (o *ContentStateUpdate) SetNumberOfSteps(v int32)

SetNumberOfSteps gets a reference to the given int32 and assigns it to the NumberOfSteps field.

func (*ContentStateUpdate) SetPercentage added in v0.1.7

func (o *ContentStateUpdate) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (*ContentStateUpdate) SetStepColor

func (o *ContentStateUpdate) SetStepColor(v string)

SetStepColor gets a reference to the given string and assigns it to the StepColor field.

func (*ContentStateUpdate) SetStepColors added in v1.1.0

func (o *ContentStateUpdate) SetStepColors(v []string)

SetStepColors gets a reference to the given []string and assigns it to the StepColors field.

func (*ContentStateUpdate) SetSubtitle

func (o *ContentStateUpdate) SetSubtitle(v string)

SetSubtitle gets a reference to the given string and assigns it to the Subtitle field.

func (*ContentStateUpdate) SetTitle

func (o *ContentStateUpdate) SetTitle(v string)

SetTitle sets field value

func (*ContentStateUpdate) SetType added in v0.1.7

func (o *ContentStateUpdate) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*ContentStateUpdate) SetUpperLimit added in v0.1.7

func (o *ContentStateUpdate) SetUpperLimit(v float32)

SetUpperLimit gets a reference to the given float32 and assigns it to the UpperLimit field.

func (*ContentStateUpdate) SetValue added in v0.1.7

func (o *ContentStateUpdate) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

func (ContentStateUpdate) ToMap

func (o ContentStateUpdate) ToMap() (map[string]interface{}, error)

func (*ContentStateUpdate) UnmarshalJSON

func (o *ContentStateUpdate) UnmarshalJSON(data []byte) (err error)

type ForbiddenError added in v0.1.2

type ForbiddenError struct {
	Error                string `json:"error"`
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

ForbiddenError struct for ForbiddenError

func NewForbiddenError added in v0.1.2

func NewForbiddenError(error_ string, message string) *ForbiddenError

NewForbiddenError instantiates a new ForbiddenError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewForbiddenErrorWithDefaults added in v0.1.2

func NewForbiddenErrorWithDefaults() *ForbiddenError

NewForbiddenErrorWithDefaults instantiates a new ForbiddenError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*ForbiddenError) GetError added in v0.1.2

func (o *ForbiddenError) GetError() string

GetError returns the Error field value

func (*ForbiddenError) GetErrorOk added in v0.1.2

func (o *ForbiddenError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*ForbiddenError) GetMessage added in v0.1.2

func (o *ForbiddenError) GetMessage() string

GetMessage returns the Message field value

func (*ForbiddenError) GetMessageOk added in v0.1.2

func (o *ForbiddenError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (ForbiddenError) MarshalJSON added in v0.1.2

func (o ForbiddenError) MarshalJSON() ([]byte, error)

func (*ForbiddenError) SetError added in v0.1.2

func (o *ForbiddenError) SetError(v string)

SetError sets field value

func (*ForbiddenError) SetMessage added in v0.1.2

func (o *ForbiddenError) SetMessage(v string)

SetMessage sets field value

func (ForbiddenError) ToMap added in v0.1.2

func (o ForbiddenError) ToMap() (map[string]interface{}, error)

func (*ForbiddenError) UnmarshalJSON added in v0.1.2

func (o *ForbiddenError) UnmarshalJSON(data []byte) (err error)

type GenericOpenAPIError

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

GenericOpenAPIError Provides access to the body, error and model on returned errors.

func (GenericOpenAPIError) Body

func (e GenericOpenAPIError) Body() []byte

Body returns the raw bytes of the response

func (GenericOpenAPIError) Error

func (e GenericOpenAPIError) Error() string

Error returns non-empty string if there was an error.

func (GenericOpenAPIError) Model

func (e GenericOpenAPIError) Model() interface{}

Model returns the unpacked model of the error

type LiveActivitiesAPIService

type LiveActivitiesAPIService service

LiveActivitiesAPIService LiveActivitiesAPI service

func (*LiveActivitiesAPIService) EndLiveActivity

EndLiveActivity End a Live Activity

Ends a Live Activity and archives its lifecycle. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can send the latest number_of_steps here if the workflow changed after start.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiEndLiveActivityRequest

func (*LiveActivitiesAPIService) EndLiveActivityExecute

Execute executes the request

@return LiveActivityEndResponse

func (*LiveActivitiesAPIService) EndLiveActivityStream added in v1.1.0

func (a *LiveActivitiesAPIService) EndLiveActivityStream(ctx context.Context, streamKey string) ApiEndLiveActivityStreamRequest

EndLiveActivityStream End a stream

Use this endpoint when the process you are tracking is finished and you no longer want the Live Activity on your devices. ActivitySmith ends the current Live Activity for this stream and dismisses it from devices. If you need direct lifecycle control, use /live-activity/start, /live-activity/update, and /live-activity/end instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param streamKey Stable identifier for one ongoing thing. Allowed characters: letters, numbers, underscores, and hyphens.
@return ApiEndLiveActivityStreamRequest

func (*LiveActivitiesAPIService) EndLiveActivityStreamExecute added in v1.1.0

Execute executes the request

@return LiveActivityStreamDeleteResponse

func (*LiveActivitiesAPIService) ReconcileLiveActivityStream added in v1.1.0

func (a *LiveActivitiesAPIService) ReconcileLiveActivityStream(ctx context.Context, streamKey string) ApiReconcileLiveActivityStreamRequest

ReconcileLiveActivityStream Send a stream update

Use this endpoint when you want the easiest, stateless way to trigger Live Activities. You do not need to store activity_id or manage the Live Activity lifecycle yourself. Send the latest state for a stable stream_key and ActivitySmith will handle the rest for you: if there is no Live Activity yet, it starts one; if there is already one for this stream, it updates it. If you need direct lifecycle control, use /live-activity/start, /live-activity/update, and /live-activity/end instead.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@param streamKey Stable identifier for one ongoing thing. Allowed characters: letters, numbers, underscores, and hyphens.
@return ApiReconcileLiveActivityStreamRequest

func (*LiveActivitiesAPIService) ReconcileLiveActivityStreamExecute added in v1.1.0

Execute executes the request

@return LiveActivityStreamPutResponse

func (*LiveActivitiesAPIService) StartLiveActivity

StartLiveActivity Start a Live Activity

Starts a Live Activity on devices matched by API key scope and optional target channels. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, number_of_steps can be changed later during update or end calls if the workflow changes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiStartLiveActivityRequest

func (*LiveActivitiesAPIService) StartLiveActivityExecute

Execute executes the request

@return LiveActivityStartResponse

func (*LiveActivitiesAPIService) UpdateLiveActivity

UpdateLiveActivity Update a Live Activity

Updates an existing Live Activity. If the per-activity token is not registered yet, the update is queued. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based activity types. For segmented_progress activities, you can increase or decrease number_of_steps here as the workflow changes.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiUpdateLiveActivityRequest

func (*LiveActivitiesAPIService) UpdateLiveActivityExecute

Execute executes the request

@return LiveActivityUpdateResponse

type LiveActivityAction added in v1.0.0

type LiveActivityAction struct {
	// Button title displayed in the Live Activity UI.
	Title string                 `json:"title"`
	Type  LiveActivityActionType `json:"type"`
	// HTTPS URL. For open_url it is opened in browser. For webhook it is called by ActivitySmith backend.
	Url string `json:"url" validate:"regexp=^https:\\/\\/"`
	// Webhook HTTP method. Used only when type=webhook.
	Method *LiveActivityWebhookMethod `json:"method,omitempty"`
	// Optional webhook payload body. Used only when type=webhook.
	Body                 map[string]interface{} `json:"body,omitempty"`
	AdditionalProperties map[string]interface{}
}

LiveActivityAction Optional single action button shown in the Live Activity UI.

func NewLiveActivityAction added in v1.0.0

func NewLiveActivityAction(title string, type_ LiveActivityActionType, url string) *LiveActivityAction

NewLiveActivityAction instantiates a new LiveActivityAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityActionWithDefaults added in v1.0.0

func NewLiveActivityActionWithDefaults() *LiveActivityAction

NewLiveActivityActionWithDefaults instantiates a new LiveActivityAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityAction) GetBody added in v1.0.0

func (o *LiveActivityAction) GetBody() map[string]interface{}

GetBody returns the Body field value if set, zero value otherwise.

func (*LiveActivityAction) GetBodyOk added in v1.0.0

func (o *LiveActivityAction) GetBodyOk() (map[string]interface{}, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityAction) GetMethod added in v1.0.0

GetMethod returns the Method field value if set, zero value otherwise.

func (*LiveActivityAction) GetMethodOk added in v1.0.0

func (o *LiveActivityAction) GetMethodOk() (*LiveActivityWebhookMethod, bool)

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityAction) GetTitle added in v1.0.0

func (o *LiveActivityAction) GetTitle() string

GetTitle returns the Title field value

func (*LiveActivityAction) GetTitleOk added in v1.0.0

func (o *LiveActivityAction) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*LiveActivityAction) GetType added in v1.0.0

GetType returns the Type field value

func (*LiveActivityAction) GetTypeOk added in v1.0.0

func (o *LiveActivityAction) GetTypeOk() (*LiveActivityActionType, bool)

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*LiveActivityAction) GetUrl added in v1.0.0

func (o *LiveActivityAction) GetUrl() string

GetUrl returns the Url field value

func (*LiveActivityAction) GetUrlOk added in v1.0.0

func (o *LiveActivityAction) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*LiveActivityAction) HasBody added in v1.0.0

func (o *LiveActivityAction) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*LiveActivityAction) HasMethod added in v1.0.0

func (o *LiveActivityAction) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (LiveActivityAction) MarshalJSON added in v1.0.0

func (o LiveActivityAction) MarshalJSON() ([]byte, error)

func (*LiveActivityAction) SetBody added in v1.0.0

func (o *LiveActivityAction) SetBody(v map[string]interface{})

SetBody gets a reference to the given map[string]interface{} and assigns it to the Body field.

func (*LiveActivityAction) SetMethod added in v1.0.0

SetMethod gets a reference to the given LiveActivityWebhookMethod and assigns it to the Method field.

func (*LiveActivityAction) SetTitle added in v1.0.0

func (o *LiveActivityAction) SetTitle(v string)

SetTitle sets field value

func (*LiveActivityAction) SetType added in v1.0.0

SetType sets field value

func (*LiveActivityAction) SetUrl added in v1.0.0

func (o *LiveActivityAction) SetUrl(v string)

SetUrl sets field value

func (LiveActivityAction) ToMap added in v1.0.0

func (o LiveActivityAction) ToMap() (map[string]interface{}, error)

func (*LiveActivityAction) UnmarshalJSON added in v1.0.0

func (o *LiveActivityAction) UnmarshalJSON(data []byte) (err error)

type LiveActivityActionType added in v1.0.0

type LiveActivityActionType string

LiveActivityActionType the model 'LiveActivityActionType'

const (
	LIVEACTIVITYACTIONTYPE_OPEN_URL LiveActivityActionType = "open_url"
	LIVEACTIVITYACTIONTYPE_WEBHOOK  LiveActivityActionType = "webhook"
)

List of LiveActivityActionType

func NewLiveActivityActionTypeFromValue added in v1.0.0

func NewLiveActivityActionTypeFromValue(v string) (*LiveActivityActionType, error)

NewLiveActivityActionTypeFromValue returns a pointer to a valid LiveActivityActionType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (LiveActivityActionType) IsValid added in v1.0.0

func (v LiveActivityActionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (LiveActivityActionType) Ptr added in v1.0.0

Ptr returns reference to LiveActivityActionType value

func (*LiveActivityActionType) UnmarshalJSON added in v1.0.0

func (v *LiveActivityActionType) UnmarshalJSON(src []byte) error

type LiveActivityEndRequest

type LiveActivityEndRequest struct {
	ActivityId           string              `json:"activity_id"`
	ContentState         ContentStateEnd     `json:"content_state"`
	Action               *LiveActivityAction `json:"action,omitempty"`
	AdditionalProperties map[string]interface{}
}

LiveActivityEndRequest End an existing Live Activity by activity_id.

func NewLiveActivityEndRequest

func NewLiveActivityEndRequest(activityId string, contentState ContentStateEnd) *LiveActivityEndRequest

NewLiveActivityEndRequest instantiates a new LiveActivityEndRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityEndRequestWithDefaults

func NewLiveActivityEndRequestWithDefaults() *LiveActivityEndRequest

NewLiveActivityEndRequestWithDefaults instantiates a new LiveActivityEndRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityEndRequest) GetAction added in v1.0.0

GetAction returns the Action field value if set, zero value otherwise.

func (*LiveActivityEndRequest) GetActionOk added in v1.0.0

func (o *LiveActivityEndRequest) GetActionOk() (*LiveActivityAction, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityEndRequest) GetActivityId

func (o *LiveActivityEndRequest) GetActivityId() string

GetActivityId returns the ActivityId field value

func (*LiveActivityEndRequest) GetActivityIdOk

func (o *LiveActivityEndRequest) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value and a boolean to check if the value has been set.

func (*LiveActivityEndRequest) GetContentState

func (o *LiveActivityEndRequest) GetContentState() ContentStateEnd

GetContentState returns the ContentState field value

func (*LiveActivityEndRequest) GetContentStateOk

func (o *LiveActivityEndRequest) GetContentStateOk() (*ContentStateEnd, bool)

GetContentStateOk returns a tuple with the ContentState field value and a boolean to check if the value has been set.

func (*LiveActivityEndRequest) HasAction added in v1.0.0

func (o *LiveActivityEndRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (LiveActivityEndRequest) MarshalJSON

func (o LiveActivityEndRequest) MarshalJSON() ([]byte, error)

func (*LiveActivityEndRequest) SetAction added in v1.0.0

SetAction gets a reference to the given LiveActivityAction and assigns it to the Action field.

func (*LiveActivityEndRequest) SetActivityId

func (o *LiveActivityEndRequest) SetActivityId(v string)

SetActivityId sets field value

func (*LiveActivityEndRequest) SetContentState

func (o *LiveActivityEndRequest) SetContentState(v ContentStateEnd)

SetContentState sets field value

func (LiveActivityEndRequest) ToMap

func (o LiveActivityEndRequest) ToMap() (map[string]interface{}, error)

func (*LiveActivityEndRequest) UnmarshalJSON

func (o *LiveActivityEndRequest) UnmarshalJSON(data []byte) (err error)

type LiveActivityEndResponse

type LiveActivityEndResponse struct {
	Success              bool      `json:"success"`
	ActivityId           string    `json:"activity_id"`
	DevicesQueued        *int32    `json:"devices_queued,omitempty"`
	DevicesNotified      *int32    `json:"devices_notified,omitempty"`
	Timestamp            time.Time `json:"timestamp"`
	AdditionalProperties map[string]interface{}
}

LiveActivityEndResponse Returned after a Live Activity end event is sent or queued.

func NewLiveActivityEndResponse

func NewLiveActivityEndResponse(success bool, activityId string, timestamp time.Time) *LiveActivityEndResponse

NewLiveActivityEndResponse instantiates a new LiveActivityEndResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityEndResponseWithDefaults

func NewLiveActivityEndResponseWithDefaults() *LiveActivityEndResponse

NewLiveActivityEndResponseWithDefaults instantiates a new LiveActivityEndResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityEndResponse) GetActivityId

func (o *LiveActivityEndResponse) GetActivityId() string

GetActivityId returns the ActivityId field value

func (*LiveActivityEndResponse) GetActivityIdOk

func (o *LiveActivityEndResponse) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value and a boolean to check if the value has been set.

func (*LiveActivityEndResponse) GetDevicesNotified

func (o *LiveActivityEndResponse) GetDevicesNotified() int32

GetDevicesNotified returns the DevicesNotified field value if set, zero value otherwise.

func (*LiveActivityEndResponse) GetDevicesNotifiedOk

func (o *LiveActivityEndResponse) GetDevicesNotifiedOk() (*int32, bool)

GetDevicesNotifiedOk returns a tuple with the DevicesNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityEndResponse) GetDevicesQueued

func (o *LiveActivityEndResponse) GetDevicesQueued() int32

GetDevicesQueued returns the DevicesQueued field value if set, zero value otherwise.

func (*LiveActivityEndResponse) GetDevicesQueuedOk

func (o *LiveActivityEndResponse) GetDevicesQueuedOk() (*int32, bool)

GetDevicesQueuedOk returns a tuple with the DevicesQueued field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityEndResponse) GetSuccess

func (o *LiveActivityEndResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*LiveActivityEndResponse) GetSuccessOk

func (o *LiveActivityEndResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*LiveActivityEndResponse) GetTimestamp

func (o *LiveActivityEndResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*LiveActivityEndResponse) GetTimestampOk

func (o *LiveActivityEndResponse) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*LiveActivityEndResponse) HasDevicesNotified

func (o *LiveActivityEndResponse) HasDevicesNotified() bool

HasDevicesNotified returns a boolean if a field has been set.

func (*LiveActivityEndResponse) HasDevicesQueued

func (o *LiveActivityEndResponse) HasDevicesQueued() bool

HasDevicesQueued returns a boolean if a field has been set.

func (LiveActivityEndResponse) MarshalJSON

func (o LiveActivityEndResponse) MarshalJSON() ([]byte, error)

func (*LiveActivityEndResponse) SetActivityId

func (o *LiveActivityEndResponse) SetActivityId(v string)

SetActivityId sets field value

func (*LiveActivityEndResponse) SetDevicesNotified

func (o *LiveActivityEndResponse) SetDevicesNotified(v int32)

SetDevicesNotified gets a reference to the given int32 and assigns it to the DevicesNotified field.

func (*LiveActivityEndResponse) SetDevicesQueued

func (o *LiveActivityEndResponse) SetDevicesQueued(v int32)

SetDevicesQueued gets a reference to the given int32 and assigns it to the DevicesQueued field.

func (*LiveActivityEndResponse) SetSuccess

func (o *LiveActivityEndResponse) SetSuccess(v bool)

SetSuccess sets field value

func (*LiveActivityEndResponse) SetTimestamp

func (o *LiveActivityEndResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (LiveActivityEndResponse) ToMap

func (o LiveActivityEndResponse) ToMap() (map[string]interface{}, error)

func (*LiveActivityEndResponse) UnmarshalJSON

func (o *LiveActivityEndResponse) UnmarshalJSON(data []byte) (err error)

type LiveActivityLimitError

type LiveActivityLimitError struct {
	Error   string `json:"error"`
	Message string `json:"message"`
	Limit   int32  `json:"limit"`
	// Current number of active Live Activities.
	Active               int32 `json:"active"`
	AdditionalProperties map[string]interface{}
}

LiveActivityLimitError struct for LiveActivityLimitError

func NewLiveActivityLimitError

func NewLiveActivityLimitError(error_ string, message string, limit int32, active int32) *LiveActivityLimitError

NewLiveActivityLimitError instantiates a new LiveActivityLimitError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityLimitErrorWithDefaults

func NewLiveActivityLimitErrorWithDefaults() *LiveActivityLimitError

NewLiveActivityLimitErrorWithDefaults instantiates a new LiveActivityLimitError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityLimitError) GetActive

func (o *LiveActivityLimitError) GetActive() int32

GetActive returns the Active field value

func (*LiveActivityLimitError) GetActiveOk

func (o *LiveActivityLimitError) GetActiveOk() (*int32, bool)

GetActiveOk returns a tuple with the Active field value and a boolean to check if the value has been set.

func (*LiveActivityLimitError) GetError

func (o *LiveActivityLimitError) GetError() string

GetError returns the Error field value

func (*LiveActivityLimitError) GetErrorOk

func (o *LiveActivityLimitError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*LiveActivityLimitError) GetLimit

func (o *LiveActivityLimitError) GetLimit() int32

GetLimit returns the Limit field value

func (*LiveActivityLimitError) GetLimitOk

func (o *LiveActivityLimitError) GetLimitOk() (*int32, bool)

GetLimitOk returns a tuple with the Limit field value and a boolean to check if the value has been set.

func (*LiveActivityLimitError) GetMessage

func (o *LiveActivityLimitError) GetMessage() string

GetMessage returns the Message field value

func (*LiveActivityLimitError) GetMessageOk

func (o *LiveActivityLimitError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (LiveActivityLimitError) MarshalJSON

func (o LiveActivityLimitError) MarshalJSON() ([]byte, error)

func (*LiveActivityLimitError) SetActive

func (o *LiveActivityLimitError) SetActive(v int32)

SetActive sets field value

func (*LiveActivityLimitError) SetError

func (o *LiveActivityLimitError) SetError(v string)

SetError sets field value

func (*LiveActivityLimitError) SetLimit

func (o *LiveActivityLimitError) SetLimit(v int32)

SetLimit sets field value

func (*LiveActivityLimitError) SetMessage

func (o *LiveActivityLimitError) SetMessage(v string)

SetMessage sets field value

func (LiveActivityLimitError) ToMap

func (o LiveActivityLimitError) ToMap() (map[string]interface{}, error)

func (*LiveActivityLimitError) UnmarshalJSON

func (o *LiveActivityLimitError) UnmarshalJSON(data []byte) (err error)

type LiveActivityStartRequest

type LiveActivityStartRequest struct {
	ContentState         ContentStateStart   `json:"content_state"`
	Action               *LiveActivityAction `json:"action,omitempty"`
	Alert                *AlertPayload       `json:"alert,omitempty"`
	Target               *ChannelTarget      `json:"target,omitempty"`
	AdditionalProperties map[string]interface{}
}

LiveActivityStartRequest Start a new Live Activity. The response includes activity_id for later update and end calls.

func NewLiveActivityStartRequest

func NewLiveActivityStartRequest(contentState ContentStateStart) *LiveActivityStartRequest

NewLiveActivityStartRequest instantiates a new LiveActivityStartRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityStartRequestWithDefaults

func NewLiveActivityStartRequestWithDefaults() *LiveActivityStartRequest

NewLiveActivityStartRequestWithDefaults instantiates a new LiveActivityStartRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityStartRequest) GetAction added in v1.0.0

GetAction returns the Action field value if set, zero value otherwise.

func (*LiveActivityStartRequest) GetActionOk added in v1.0.0

func (o *LiveActivityStartRequest) GetActionOk() (*LiveActivityAction, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStartRequest) GetAlert added in v0.1.2

func (o *LiveActivityStartRequest) GetAlert() AlertPayload

GetAlert returns the Alert field value if set, zero value otherwise.

func (*LiveActivityStartRequest) GetAlertOk added in v0.1.2

func (o *LiveActivityStartRequest) GetAlertOk() (*AlertPayload, bool)

GetAlertOk returns a tuple with the Alert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStartRequest) GetContentState

func (o *LiveActivityStartRequest) GetContentState() ContentStateStart

GetContentState returns the ContentState field value

func (*LiveActivityStartRequest) GetContentStateOk

func (o *LiveActivityStartRequest) GetContentStateOk() (*ContentStateStart, bool)

GetContentStateOk returns a tuple with the ContentState field value and a boolean to check if the value has been set.

func (*LiveActivityStartRequest) GetTarget added in v0.1.2

func (o *LiveActivityStartRequest) GetTarget() ChannelTarget

GetTarget returns the Target field value if set, zero value otherwise.

func (*LiveActivityStartRequest) GetTargetOk added in v0.1.2

func (o *LiveActivityStartRequest) GetTargetOk() (*ChannelTarget, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStartRequest) HasAction added in v1.0.0

func (o *LiveActivityStartRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*LiveActivityStartRequest) HasAlert added in v0.1.2

func (o *LiveActivityStartRequest) HasAlert() bool

HasAlert returns a boolean if a field has been set.

func (*LiveActivityStartRequest) HasTarget added in v0.1.2

func (o *LiveActivityStartRequest) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (LiveActivityStartRequest) MarshalJSON

func (o LiveActivityStartRequest) MarshalJSON() ([]byte, error)

func (*LiveActivityStartRequest) SetAction added in v1.0.0

SetAction gets a reference to the given LiveActivityAction and assigns it to the Action field.

func (*LiveActivityStartRequest) SetAlert added in v0.1.2

func (o *LiveActivityStartRequest) SetAlert(v AlertPayload)

SetAlert gets a reference to the given AlertPayload and assigns it to the Alert field.

func (*LiveActivityStartRequest) SetContentState

func (o *LiveActivityStartRequest) SetContentState(v ContentStateStart)

SetContentState sets field value

func (*LiveActivityStartRequest) SetTarget added in v0.1.2

func (o *LiveActivityStartRequest) SetTarget(v ChannelTarget)

SetTarget gets a reference to the given ChannelTarget and assigns it to the Target field.

func (LiveActivityStartRequest) ToMap

func (o LiveActivityStartRequest) ToMap() (map[string]interface{}, error)

func (*LiveActivityStartRequest) UnmarshalJSON

func (o *LiveActivityStartRequest) UnmarshalJSON(data []byte) (err error)

type LiveActivityStartResponse

type LiveActivityStartResponse struct {
	Success               bool      `json:"success"`
	DevicesNotified       *int32    `json:"devices_notified,omitempty"`
	UsersNotified         *int32    `json:"users_notified,omitempty"`
	ActivityId            string    `json:"activity_id"`
	EffectiveChannelSlugs []string  `json:"effective_channel_slugs,omitempty"`
	Timestamp             time.Time `json:"timestamp"`
	AdditionalProperties  map[string]interface{}
}

LiveActivityStartResponse Returned after a Live Activity starts. Save activity_id and use it for all later updates and for the final end call.

func NewLiveActivityStartResponse

func NewLiveActivityStartResponse(success bool, activityId string, timestamp time.Time) *LiveActivityStartResponse

NewLiveActivityStartResponse instantiates a new LiveActivityStartResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityStartResponseWithDefaults

func NewLiveActivityStartResponseWithDefaults() *LiveActivityStartResponse

NewLiveActivityStartResponseWithDefaults instantiates a new LiveActivityStartResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityStartResponse) GetActivityId

func (o *LiveActivityStartResponse) GetActivityId() string

GetActivityId returns the ActivityId field value

func (*LiveActivityStartResponse) GetActivityIdOk

func (o *LiveActivityStartResponse) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value and a boolean to check if the value has been set.

func (*LiveActivityStartResponse) GetDevicesNotified

func (o *LiveActivityStartResponse) GetDevicesNotified() int32

GetDevicesNotified returns the DevicesNotified field value if set, zero value otherwise.

func (*LiveActivityStartResponse) GetDevicesNotifiedOk

func (o *LiveActivityStartResponse) GetDevicesNotifiedOk() (*int32, bool)

GetDevicesNotifiedOk returns a tuple with the DevicesNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStartResponse) GetEffectiveChannelSlugs added in v0.1.2

func (o *LiveActivityStartResponse) GetEffectiveChannelSlugs() []string

GetEffectiveChannelSlugs returns the EffectiveChannelSlugs field value if set, zero value otherwise.

func (*LiveActivityStartResponse) GetEffectiveChannelSlugsOk added in v0.1.2

func (o *LiveActivityStartResponse) GetEffectiveChannelSlugsOk() ([]string, bool)

GetEffectiveChannelSlugsOk returns a tuple with the EffectiveChannelSlugs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStartResponse) GetSuccess

func (o *LiveActivityStartResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*LiveActivityStartResponse) GetSuccessOk

func (o *LiveActivityStartResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*LiveActivityStartResponse) GetTimestamp

func (o *LiveActivityStartResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*LiveActivityStartResponse) GetTimestampOk

func (o *LiveActivityStartResponse) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*LiveActivityStartResponse) GetUsersNotified

func (o *LiveActivityStartResponse) GetUsersNotified() int32

GetUsersNotified returns the UsersNotified field value if set, zero value otherwise.

func (*LiveActivityStartResponse) GetUsersNotifiedOk

func (o *LiveActivityStartResponse) GetUsersNotifiedOk() (*int32, bool)

GetUsersNotifiedOk returns a tuple with the UsersNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStartResponse) HasDevicesNotified

func (o *LiveActivityStartResponse) HasDevicesNotified() bool

HasDevicesNotified returns a boolean if a field has been set.

func (*LiveActivityStartResponse) HasEffectiveChannelSlugs added in v0.1.2

func (o *LiveActivityStartResponse) HasEffectiveChannelSlugs() bool

HasEffectiveChannelSlugs returns a boolean if a field has been set.

func (*LiveActivityStartResponse) HasUsersNotified

func (o *LiveActivityStartResponse) HasUsersNotified() bool

HasUsersNotified returns a boolean if a field has been set.

func (LiveActivityStartResponse) MarshalJSON

func (o LiveActivityStartResponse) MarshalJSON() ([]byte, error)

func (*LiveActivityStartResponse) SetActivityId

func (o *LiveActivityStartResponse) SetActivityId(v string)

SetActivityId sets field value

func (*LiveActivityStartResponse) SetDevicesNotified

func (o *LiveActivityStartResponse) SetDevicesNotified(v int32)

SetDevicesNotified gets a reference to the given int32 and assigns it to the DevicesNotified field.

func (*LiveActivityStartResponse) SetEffectiveChannelSlugs added in v0.1.2

func (o *LiveActivityStartResponse) SetEffectiveChannelSlugs(v []string)

SetEffectiveChannelSlugs gets a reference to the given []string and assigns it to the EffectiveChannelSlugs field.

func (*LiveActivityStartResponse) SetSuccess

func (o *LiveActivityStartResponse) SetSuccess(v bool)

SetSuccess sets field value

func (*LiveActivityStartResponse) SetTimestamp

func (o *LiveActivityStartResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*LiveActivityStartResponse) SetUsersNotified

func (o *LiveActivityStartResponse) SetUsersNotified(v int32)

SetUsersNotified gets a reference to the given int32 and assigns it to the UsersNotified field.

func (LiveActivityStartResponse) ToMap

func (o LiveActivityStartResponse) ToMap() (map[string]interface{}, error)

func (*LiveActivityStartResponse) UnmarshalJSON

func (o *LiveActivityStartResponse) UnmarshalJSON(data []byte) (err error)

type LiveActivityStreamDeleteRequest added in v1.1.0

type LiveActivityStreamDeleteRequest struct {
	ContentState         *StreamContentState `json:"content_state,omitempty"`
	Action               *LiveActivityAction `json:"action,omitempty"`
	Alert                *AlertPayload       `json:"alert,omitempty"`
	AdditionalProperties map[string]interface{}
}

LiveActivityStreamDeleteRequest Optional payload for ending a managed stream. When omitted, ActivitySmith ends the stream using the latest known state when possible.

func NewLiveActivityStreamDeleteRequest added in v1.1.0

func NewLiveActivityStreamDeleteRequest() *LiveActivityStreamDeleteRequest

NewLiveActivityStreamDeleteRequest instantiates a new LiveActivityStreamDeleteRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityStreamDeleteRequestWithDefaults added in v1.1.0

func NewLiveActivityStreamDeleteRequestWithDefaults() *LiveActivityStreamDeleteRequest

NewLiveActivityStreamDeleteRequestWithDefaults instantiates a new LiveActivityStreamDeleteRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityStreamDeleteRequest) GetAction added in v1.1.0

GetAction returns the Action field value if set, zero value otherwise.

func (*LiveActivityStreamDeleteRequest) GetActionOk added in v1.1.0

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteRequest) GetAlert added in v1.1.0

GetAlert returns the Alert field value if set, zero value otherwise.

func (*LiveActivityStreamDeleteRequest) GetAlertOk added in v1.1.0

GetAlertOk returns a tuple with the Alert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteRequest) GetContentState added in v1.1.0

GetContentState returns the ContentState field value if set, zero value otherwise.

func (*LiveActivityStreamDeleteRequest) GetContentStateOk added in v1.1.0

func (o *LiveActivityStreamDeleteRequest) GetContentStateOk() (*StreamContentState, bool)

GetContentStateOk returns a tuple with the ContentState field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteRequest) HasAction added in v1.1.0

func (o *LiveActivityStreamDeleteRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*LiveActivityStreamDeleteRequest) HasAlert added in v1.1.0

func (o *LiveActivityStreamDeleteRequest) HasAlert() bool

HasAlert returns a boolean if a field has been set.

func (*LiveActivityStreamDeleteRequest) HasContentState added in v1.1.0

func (o *LiveActivityStreamDeleteRequest) HasContentState() bool

HasContentState returns a boolean if a field has been set.

func (LiveActivityStreamDeleteRequest) MarshalJSON added in v1.1.0

func (o LiveActivityStreamDeleteRequest) MarshalJSON() ([]byte, error)

func (*LiveActivityStreamDeleteRequest) SetAction added in v1.1.0

SetAction gets a reference to the given LiveActivityAction and assigns it to the Action field.

func (*LiveActivityStreamDeleteRequest) SetAlert added in v1.1.0

SetAlert gets a reference to the given AlertPayload and assigns it to the Alert field.

func (*LiveActivityStreamDeleteRequest) SetContentState added in v1.1.0

SetContentState gets a reference to the given StreamContentState and assigns it to the ContentState field.

func (LiveActivityStreamDeleteRequest) ToMap added in v1.1.0

func (o LiveActivityStreamDeleteRequest) ToMap() (map[string]interface{}, error)

func (*LiveActivityStreamDeleteRequest) UnmarshalJSON added in v1.1.0

func (o *LiveActivityStreamDeleteRequest) UnmarshalJSON(data []byte) (err error)

type LiveActivityStreamDeleteResponse added in v1.1.0

type LiveActivityStreamDeleteResponse struct {
	Success              bool           `json:"success"`
	Operation            string         `json:"operation"`
	StreamKey            string         `json:"stream_key"`
	ActivityId           NullableString `json:"activity_id,omitempty"`
	DevicesQueued        *int32         `json:"devices_queued,omitempty"`
	DevicesNotified      *int32         `json:"devices_notified,omitempty"`
	Timestamp            time.Time      `json:"timestamp"`
	AdditionalProperties map[string]interface{}
}

LiveActivityStreamDeleteResponse Returned after a managed stream is ended and removed.

func NewLiveActivityStreamDeleteResponse added in v1.1.0

func NewLiveActivityStreamDeleteResponse(success bool, operation string, streamKey string, timestamp time.Time) *LiveActivityStreamDeleteResponse

NewLiveActivityStreamDeleteResponse instantiates a new LiveActivityStreamDeleteResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityStreamDeleteResponseWithDefaults added in v1.1.0

func NewLiveActivityStreamDeleteResponseWithDefaults() *LiveActivityStreamDeleteResponse

NewLiveActivityStreamDeleteResponseWithDefaults instantiates a new LiveActivityStreamDeleteResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityStreamDeleteResponse) GetActivityId added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetActivityId() string

GetActivityId returns the ActivityId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LiveActivityStreamDeleteResponse) GetActivityIdOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LiveActivityStreamDeleteResponse) GetDevicesNotified added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetDevicesNotified() int32

GetDevicesNotified returns the DevicesNotified field value if set, zero value otherwise.

func (*LiveActivityStreamDeleteResponse) GetDevicesNotifiedOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetDevicesNotifiedOk() (*int32, bool)

GetDevicesNotifiedOk returns a tuple with the DevicesNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteResponse) GetDevicesQueued added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetDevicesQueued() int32

GetDevicesQueued returns the DevicesQueued field value if set, zero value otherwise.

func (*LiveActivityStreamDeleteResponse) GetDevicesQueuedOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetDevicesQueuedOk() (*int32, bool)

GetDevicesQueuedOk returns a tuple with the DevicesQueued field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteResponse) GetOperation added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetOperation() string

GetOperation returns the Operation field value

func (*LiveActivityStreamDeleteResponse) GetOperationOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetOperationOk() (*string, bool)

GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteResponse) GetStreamKey added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetStreamKey() string

GetStreamKey returns the StreamKey field value

func (*LiveActivityStreamDeleteResponse) GetStreamKeyOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetStreamKeyOk() (*string, bool)

GetStreamKeyOk returns a tuple with the StreamKey field value and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteResponse) GetSuccess added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*LiveActivityStreamDeleteResponse) GetSuccessOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteResponse) GetTimestamp added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*LiveActivityStreamDeleteResponse) GetTimestampOk added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*LiveActivityStreamDeleteResponse) HasActivityId added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*LiveActivityStreamDeleteResponse) HasDevicesNotified added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) HasDevicesNotified() bool

HasDevicesNotified returns a boolean if a field has been set.

func (*LiveActivityStreamDeleteResponse) HasDevicesQueued added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) HasDevicesQueued() bool

HasDevicesQueued returns a boolean if a field has been set.

func (LiveActivityStreamDeleteResponse) MarshalJSON added in v1.1.0

func (o LiveActivityStreamDeleteResponse) MarshalJSON() ([]byte, error)

func (*LiveActivityStreamDeleteResponse) SetActivityId added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetActivityId(v string)

SetActivityId gets a reference to the given NullableString and assigns it to the ActivityId field.

func (*LiveActivityStreamDeleteResponse) SetActivityIdNil added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetActivityIdNil()

SetActivityIdNil sets the value for ActivityId to be an explicit nil

func (*LiveActivityStreamDeleteResponse) SetDevicesNotified added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetDevicesNotified(v int32)

SetDevicesNotified gets a reference to the given int32 and assigns it to the DevicesNotified field.

func (*LiveActivityStreamDeleteResponse) SetDevicesQueued added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetDevicesQueued(v int32)

SetDevicesQueued gets a reference to the given int32 and assigns it to the DevicesQueued field.

func (*LiveActivityStreamDeleteResponse) SetOperation added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetOperation(v string)

SetOperation sets field value

func (*LiveActivityStreamDeleteResponse) SetStreamKey added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetStreamKey(v string)

SetStreamKey sets field value

func (*LiveActivityStreamDeleteResponse) SetSuccess added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetSuccess(v bool)

SetSuccess sets field value

func (*LiveActivityStreamDeleteResponse) SetTimestamp added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (LiveActivityStreamDeleteResponse) ToMap added in v1.1.0

func (o LiveActivityStreamDeleteResponse) ToMap() (map[string]interface{}, error)

func (*LiveActivityStreamDeleteResponse) UnmarshalJSON added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) UnmarshalJSON(data []byte) (err error)

func (*LiveActivityStreamDeleteResponse) UnsetActivityId added in v1.1.0

func (o *LiveActivityStreamDeleteResponse) UnsetActivityId()

UnsetActivityId ensures that no value is present for ActivityId, not even an explicit nil

type LiveActivityStreamPutResponse added in v1.1.0

type LiveActivityStreamPutResponse struct {
	Success               bool           `json:"success"`
	Operation             string         `json:"operation"`
	StreamKey             string         `json:"stream_key"`
	ActivityId            NullableString `json:"activity_id,omitempty"`
	PreviousActivityId    *string        `json:"previous_activity_id,omitempty"`
	DevicesNotified       *int32         `json:"devices_notified,omitempty"`
	DevicesQueued         *int32         `json:"devices_queued,omitempty"`
	UsersNotified         *int32         `json:"users_notified,omitempty"`
	EffectiveChannelSlugs []string       `json:"effective_channel_slugs,omitempty"`
	Timestamp             time.Time      `json:"timestamp"`
	AdditionalProperties  map[string]interface{}
}

LiveActivityStreamPutResponse Returned after a managed stream request is reconciled.

func NewLiveActivityStreamPutResponse added in v1.1.0

func NewLiveActivityStreamPutResponse(success bool, operation string, streamKey string, timestamp time.Time) *LiveActivityStreamPutResponse

NewLiveActivityStreamPutResponse instantiates a new LiveActivityStreamPutResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityStreamPutResponseWithDefaults added in v1.1.0

func NewLiveActivityStreamPutResponseWithDefaults() *LiveActivityStreamPutResponse

NewLiveActivityStreamPutResponseWithDefaults instantiates a new LiveActivityStreamPutResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityStreamPutResponse) GetActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetActivityId() string

GetActivityId returns the ActivityId field value if set, zero value otherwise (both if not set or set to explicit null).

func (*LiveActivityStreamPutResponse) GetActivityIdOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set. NOTE: If the value is an explicit nil, `nil, true` will be returned

func (*LiveActivityStreamPutResponse) GetDevicesNotified added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetDevicesNotified() int32

GetDevicesNotified returns the DevicesNotified field value if set, zero value otherwise.

func (*LiveActivityStreamPutResponse) GetDevicesNotifiedOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetDevicesNotifiedOk() (*int32, bool)

GetDevicesNotifiedOk returns a tuple with the DevicesNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetDevicesQueued added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetDevicesQueued() int32

GetDevicesQueued returns the DevicesQueued field value if set, zero value otherwise.

func (*LiveActivityStreamPutResponse) GetDevicesQueuedOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetDevicesQueuedOk() (*int32, bool)

GetDevicesQueuedOk returns a tuple with the DevicesQueued field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetEffectiveChannelSlugs added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetEffectiveChannelSlugs() []string

GetEffectiveChannelSlugs returns the EffectiveChannelSlugs field value if set, zero value otherwise.

func (*LiveActivityStreamPutResponse) GetEffectiveChannelSlugsOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetEffectiveChannelSlugsOk() ([]string, bool)

GetEffectiveChannelSlugsOk returns a tuple with the EffectiveChannelSlugs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetOperation added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetOperation() string

GetOperation returns the Operation field value

func (*LiveActivityStreamPutResponse) GetOperationOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetOperationOk() (*string, bool)

GetOperationOk returns a tuple with the Operation field value and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetPreviousActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetPreviousActivityId() string

GetPreviousActivityId returns the PreviousActivityId field value if set, zero value otherwise.

func (*LiveActivityStreamPutResponse) GetPreviousActivityIdOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetPreviousActivityIdOk() (*string, bool)

GetPreviousActivityIdOk returns a tuple with the PreviousActivityId field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetStreamKey added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetStreamKey() string

GetStreamKey returns the StreamKey field value

func (*LiveActivityStreamPutResponse) GetStreamKeyOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetStreamKeyOk() (*string, bool)

GetStreamKeyOk returns a tuple with the StreamKey field value and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetSuccess added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*LiveActivityStreamPutResponse) GetSuccessOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetTimestamp added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*LiveActivityStreamPutResponse) GetTimestampOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) GetUsersNotified added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetUsersNotified() int32

GetUsersNotified returns the UsersNotified field value if set, zero value otherwise.

func (*LiveActivityStreamPutResponse) GetUsersNotifiedOk added in v1.1.0

func (o *LiveActivityStreamPutResponse) GetUsersNotifiedOk() (*int32, bool)

GetUsersNotifiedOk returns a tuple with the UsersNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamPutResponse) HasActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) HasActivityId() bool

HasActivityId returns a boolean if a field has been set.

func (*LiveActivityStreamPutResponse) HasDevicesNotified added in v1.1.0

func (o *LiveActivityStreamPutResponse) HasDevicesNotified() bool

HasDevicesNotified returns a boolean if a field has been set.

func (*LiveActivityStreamPutResponse) HasDevicesQueued added in v1.1.0

func (o *LiveActivityStreamPutResponse) HasDevicesQueued() bool

HasDevicesQueued returns a boolean if a field has been set.

func (*LiveActivityStreamPutResponse) HasEffectiveChannelSlugs added in v1.1.0

func (o *LiveActivityStreamPutResponse) HasEffectiveChannelSlugs() bool

HasEffectiveChannelSlugs returns a boolean if a field has been set.

func (*LiveActivityStreamPutResponse) HasPreviousActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) HasPreviousActivityId() bool

HasPreviousActivityId returns a boolean if a field has been set.

func (*LiveActivityStreamPutResponse) HasUsersNotified added in v1.1.0

func (o *LiveActivityStreamPutResponse) HasUsersNotified() bool

HasUsersNotified returns a boolean if a field has been set.

func (LiveActivityStreamPutResponse) MarshalJSON added in v1.1.0

func (o LiveActivityStreamPutResponse) MarshalJSON() ([]byte, error)

func (*LiveActivityStreamPutResponse) SetActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetActivityId(v string)

SetActivityId gets a reference to the given NullableString and assigns it to the ActivityId field.

func (*LiveActivityStreamPutResponse) SetActivityIdNil added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetActivityIdNil()

SetActivityIdNil sets the value for ActivityId to be an explicit nil

func (*LiveActivityStreamPutResponse) SetDevicesNotified added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetDevicesNotified(v int32)

SetDevicesNotified gets a reference to the given int32 and assigns it to the DevicesNotified field.

func (*LiveActivityStreamPutResponse) SetDevicesQueued added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetDevicesQueued(v int32)

SetDevicesQueued gets a reference to the given int32 and assigns it to the DevicesQueued field.

func (*LiveActivityStreamPutResponse) SetEffectiveChannelSlugs added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetEffectiveChannelSlugs(v []string)

SetEffectiveChannelSlugs gets a reference to the given []string and assigns it to the EffectiveChannelSlugs field.

func (*LiveActivityStreamPutResponse) SetOperation added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetOperation(v string)

SetOperation sets field value

func (*LiveActivityStreamPutResponse) SetPreviousActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetPreviousActivityId(v string)

SetPreviousActivityId gets a reference to the given string and assigns it to the PreviousActivityId field.

func (*LiveActivityStreamPutResponse) SetStreamKey added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetStreamKey(v string)

SetStreamKey sets field value

func (*LiveActivityStreamPutResponse) SetSuccess added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetSuccess(v bool)

SetSuccess sets field value

func (*LiveActivityStreamPutResponse) SetTimestamp added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*LiveActivityStreamPutResponse) SetUsersNotified added in v1.1.0

func (o *LiveActivityStreamPutResponse) SetUsersNotified(v int32)

SetUsersNotified gets a reference to the given int32 and assigns it to the UsersNotified field.

func (LiveActivityStreamPutResponse) ToMap added in v1.1.0

func (o LiveActivityStreamPutResponse) ToMap() (map[string]interface{}, error)

func (*LiveActivityStreamPutResponse) UnmarshalJSON added in v1.1.0

func (o *LiveActivityStreamPutResponse) UnmarshalJSON(data []byte) (err error)

func (*LiveActivityStreamPutResponse) UnsetActivityId added in v1.1.0

func (o *LiveActivityStreamPutResponse) UnsetActivityId()

UnsetActivityId ensures that no value is present for ActivityId, not even an explicit nil

type LiveActivityStreamRequest added in v1.1.0

type LiveActivityStreamRequest struct {
	ContentState StreamContentState  `json:"content_state"`
	Action       *LiveActivityAction `json:"action,omitempty"`
	Alert        *AlertPayload       `json:"alert,omitempty"`
	// Channel slugs. When omitted, API key scope determines recipients.
	Channels             []string       `json:"channels,omitempty"`
	Target               *ChannelTarget `json:"target,omitempty"`
	AdditionalProperties map[string]interface{}
}

LiveActivityStreamRequest Send the latest state for a managed Live Activity stream. channels is the streamlined form for stream targeting. target.channels is also accepted for compatibility. If both are provided, they must match.

func NewLiveActivityStreamRequest added in v1.1.0

func NewLiveActivityStreamRequest(contentState StreamContentState) *LiveActivityStreamRequest

NewLiveActivityStreamRequest instantiates a new LiveActivityStreamRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityStreamRequestWithDefaults added in v1.1.0

func NewLiveActivityStreamRequestWithDefaults() *LiveActivityStreamRequest

NewLiveActivityStreamRequestWithDefaults instantiates a new LiveActivityStreamRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityStreamRequest) GetAction added in v1.1.0

GetAction returns the Action field value if set, zero value otherwise.

func (*LiveActivityStreamRequest) GetActionOk added in v1.1.0

func (o *LiveActivityStreamRequest) GetActionOk() (*LiveActivityAction, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamRequest) GetAlert added in v1.1.0

GetAlert returns the Alert field value if set, zero value otherwise.

func (*LiveActivityStreamRequest) GetAlertOk added in v1.1.0

func (o *LiveActivityStreamRequest) GetAlertOk() (*AlertPayload, bool)

GetAlertOk returns a tuple with the Alert field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamRequest) GetChannels added in v1.1.0

func (o *LiveActivityStreamRequest) GetChannels() []string

GetChannels returns the Channels field value if set, zero value otherwise.

func (*LiveActivityStreamRequest) GetChannelsOk added in v1.1.0

func (o *LiveActivityStreamRequest) GetChannelsOk() ([]string, bool)

GetChannelsOk returns a tuple with the Channels field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamRequest) GetContentState added in v1.1.0

func (o *LiveActivityStreamRequest) GetContentState() StreamContentState

GetContentState returns the ContentState field value

func (*LiveActivityStreamRequest) GetContentStateOk added in v1.1.0

func (o *LiveActivityStreamRequest) GetContentStateOk() (*StreamContentState, bool)

GetContentStateOk returns a tuple with the ContentState field value and a boolean to check if the value has been set.

func (*LiveActivityStreamRequest) GetTarget added in v1.1.0

GetTarget returns the Target field value if set, zero value otherwise.

func (*LiveActivityStreamRequest) GetTargetOk added in v1.1.0

func (o *LiveActivityStreamRequest) GetTargetOk() (*ChannelTarget, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityStreamRequest) HasAction added in v1.1.0

func (o *LiveActivityStreamRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (*LiveActivityStreamRequest) HasAlert added in v1.1.0

func (o *LiveActivityStreamRequest) HasAlert() bool

HasAlert returns a boolean if a field has been set.

func (*LiveActivityStreamRequest) HasChannels added in v1.1.0

func (o *LiveActivityStreamRequest) HasChannels() bool

HasChannels returns a boolean if a field has been set.

func (*LiveActivityStreamRequest) HasTarget added in v1.1.0

func (o *LiveActivityStreamRequest) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (LiveActivityStreamRequest) MarshalJSON added in v1.1.0

func (o LiveActivityStreamRequest) MarshalJSON() ([]byte, error)

func (*LiveActivityStreamRequest) SetAction added in v1.1.0

SetAction gets a reference to the given LiveActivityAction and assigns it to the Action field.

func (*LiveActivityStreamRequest) SetAlert added in v1.1.0

func (o *LiveActivityStreamRequest) SetAlert(v AlertPayload)

SetAlert gets a reference to the given AlertPayload and assigns it to the Alert field.

func (*LiveActivityStreamRequest) SetChannels added in v1.1.0

func (o *LiveActivityStreamRequest) SetChannels(v []string)

SetChannels gets a reference to the given []string and assigns it to the Channels field.

func (*LiveActivityStreamRequest) SetContentState added in v1.1.0

func (o *LiveActivityStreamRequest) SetContentState(v StreamContentState)

SetContentState sets field value

func (*LiveActivityStreamRequest) SetTarget added in v1.1.0

func (o *LiveActivityStreamRequest) SetTarget(v ChannelTarget)

SetTarget gets a reference to the given ChannelTarget and assigns it to the Target field.

func (LiveActivityStreamRequest) ToMap added in v1.1.0

func (o LiveActivityStreamRequest) ToMap() (map[string]interface{}, error)

func (*LiveActivityStreamRequest) UnmarshalJSON added in v1.1.0

func (o *LiveActivityStreamRequest) UnmarshalJSON(data []byte) (err error)

type LiveActivityUpdateRequest

type LiveActivityUpdateRequest struct {
	ActivityId           string              `json:"activity_id"`
	ContentState         ContentStateUpdate  `json:"content_state"`
	Action               *LiveActivityAction `json:"action,omitempty"`
	AdditionalProperties map[string]interface{}
}

LiveActivityUpdateRequest Update an existing Live Activity by activity_id.

func NewLiveActivityUpdateRequest

func NewLiveActivityUpdateRequest(activityId string, contentState ContentStateUpdate) *LiveActivityUpdateRequest

NewLiveActivityUpdateRequest instantiates a new LiveActivityUpdateRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityUpdateRequestWithDefaults

func NewLiveActivityUpdateRequestWithDefaults() *LiveActivityUpdateRequest

NewLiveActivityUpdateRequestWithDefaults instantiates a new LiveActivityUpdateRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityUpdateRequest) GetAction added in v1.0.0

GetAction returns the Action field value if set, zero value otherwise.

func (*LiveActivityUpdateRequest) GetActionOk added in v1.0.0

func (o *LiveActivityUpdateRequest) GetActionOk() (*LiveActivityAction, bool)

GetActionOk returns a tuple with the Action field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityUpdateRequest) GetActivityId

func (o *LiveActivityUpdateRequest) GetActivityId() string

GetActivityId returns the ActivityId field value

func (*LiveActivityUpdateRequest) GetActivityIdOk

func (o *LiveActivityUpdateRequest) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value and a boolean to check if the value has been set.

func (*LiveActivityUpdateRequest) GetContentState

func (o *LiveActivityUpdateRequest) GetContentState() ContentStateUpdate

GetContentState returns the ContentState field value

func (*LiveActivityUpdateRequest) GetContentStateOk

func (o *LiveActivityUpdateRequest) GetContentStateOk() (*ContentStateUpdate, bool)

GetContentStateOk returns a tuple with the ContentState field value and a boolean to check if the value has been set.

func (*LiveActivityUpdateRequest) HasAction added in v1.0.0

func (o *LiveActivityUpdateRequest) HasAction() bool

HasAction returns a boolean if a field has been set.

func (LiveActivityUpdateRequest) MarshalJSON

func (o LiveActivityUpdateRequest) MarshalJSON() ([]byte, error)

func (*LiveActivityUpdateRequest) SetAction added in v1.0.0

SetAction gets a reference to the given LiveActivityAction and assigns it to the Action field.

func (*LiveActivityUpdateRequest) SetActivityId

func (o *LiveActivityUpdateRequest) SetActivityId(v string)

SetActivityId sets field value

func (*LiveActivityUpdateRequest) SetContentState

func (o *LiveActivityUpdateRequest) SetContentState(v ContentStateUpdate)

SetContentState sets field value

func (LiveActivityUpdateRequest) ToMap

func (o LiveActivityUpdateRequest) ToMap() (map[string]interface{}, error)

func (*LiveActivityUpdateRequest) UnmarshalJSON

func (o *LiveActivityUpdateRequest) UnmarshalJSON(data []byte) (err error)

type LiveActivityUpdateResponse

type LiveActivityUpdateResponse struct {
	Success              bool      `json:"success"`
	ActivityId           string    `json:"activity_id"`
	DevicesQueued        *int32    `json:"devices_queued,omitempty"`
	DevicesNotified      *int32    `json:"devices_notified,omitempty"`
	Timestamp            time.Time `json:"timestamp"`
	AdditionalProperties map[string]interface{}
}

LiveActivityUpdateResponse Returned after a Live Activity update is sent or queued.

func NewLiveActivityUpdateResponse

func NewLiveActivityUpdateResponse(success bool, activityId string, timestamp time.Time) *LiveActivityUpdateResponse

NewLiveActivityUpdateResponse instantiates a new LiveActivityUpdateResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewLiveActivityUpdateResponseWithDefaults

func NewLiveActivityUpdateResponseWithDefaults() *LiveActivityUpdateResponse

NewLiveActivityUpdateResponseWithDefaults instantiates a new LiveActivityUpdateResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*LiveActivityUpdateResponse) GetActivityId

func (o *LiveActivityUpdateResponse) GetActivityId() string

GetActivityId returns the ActivityId field value

func (*LiveActivityUpdateResponse) GetActivityIdOk

func (o *LiveActivityUpdateResponse) GetActivityIdOk() (*string, bool)

GetActivityIdOk returns a tuple with the ActivityId field value and a boolean to check if the value has been set.

func (*LiveActivityUpdateResponse) GetDevicesNotified

func (o *LiveActivityUpdateResponse) GetDevicesNotified() int32

GetDevicesNotified returns the DevicesNotified field value if set, zero value otherwise.

func (*LiveActivityUpdateResponse) GetDevicesNotifiedOk

func (o *LiveActivityUpdateResponse) GetDevicesNotifiedOk() (*int32, bool)

GetDevicesNotifiedOk returns a tuple with the DevicesNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityUpdateResponse) GetDevicesQueued

func (o *LiveActivityUpdateResponse) GetDevicesQueued() int32

GetDevicesQueued returns the DevicesQueued field value if set, zero value otherwise.

func (*LiveActivityUpdateResponse) GetDevicesQueuedOk

func (o *LiveActivityUpdateResponse) GetDevicesQueuedOk() (*int32, bool)

GetDevicesQueuedOk returns a tuple with the DevicesQueued field value if set, nil otherwise and a boolean to check if the value has been set.

func (*LiveActivityUpdateResponse) GetSuccess

func (o *LiveActivityUpdateResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*LiveActivityUpdateResponse) GetSuccessOk

func (o *LiveActivityUpdateResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*LiveActivityUpdateResponse) GetTimestamp

func (o *LiveActivityUpdateResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*LiveActivityUpdateResponse) GetTimestampOk

func (o *LiveActivityUpdateResponse) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*LiveActivityUpdateResponse) HasDevicesNotified

func (o *LiveActivityUpdateResponse) HasDevicesNotified() bool

HasDevicesNotified returns a boolean if a field has been set.

func (*LiveActivityUpdateResponse) HasDevicesQueued

func (o *LiveActivityUpdateResponse) HasDevicesQueued() bool

HasDevicesQueued returns a boolean if a field has been set.

func (LiveActivityUpdateResponse) MarshalJSON

func (o LiveActivityUpdateResponse) MarshalJSON() ([]byte, error)

func (*LiveActivityUpdateResponse) SetActivityId

func (o *LiveActivityUpdateResponse) SetActivityId(v string)

SetActivityId sets field value

func (*LiveActivityUpdateResponse) SetDevicesNotified

func (o *LiveActivityUpdateResponse) SetDevicesNotified(v int32)

SetDevicesNotified gets a reference to the given int32 and assigns it to the DevicesNotified field.

func (*LiveActivityUpdateResponse) SetDevicesQueued

func (o *LiveActivityUpdateResponse) SetDevicesQueued(v int32)

SetDevicesQueued gets a reference to the given int32 and assigns it to the DevicesQueued field.

func (*LiveActivityUpdateResponse) SetSuccess

func (o *LiveActivityUpdateResponse) SetSuccess(v bool)

SetSuccess sets field value

func (*LiveActivityUpdateResponse) SetTimestamp

func (o *LiveActivityUpdateResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (LiveActivityUpdateResponse) ToMap

func (o LiveActivityUpdateResponse) ToMap() (map[string]interface{}, error)

func (*LiveActivityUpdateResponse) UnmarshalJSON

func (o *LiveActivityUpdateResponse) UnmarshalJSON(data []byte) (err error)

type LiveActivityWebhookMethod added in v1.0.0

type LiveActivityWebhookMethod string

LiveActivityWebhookMethod the model 'LiveActivityWebhookMethod'

const (
	LIVEACTIVITYWEBHOOKMETHOD_GET  LiveActivityWebhookMethod = "GET"
	LIVEACTIVITYWEBHOOKMETHOD_POST LiveActivityWebhookMethod = "POST"
)

List of LiveActivityWebhookMethod

func NewLiveActivityWebhookMethodFromValue added in v1.0.0

func NewLiveActivityWebhookMethodFromValue(v string) (*LiveActivityWebhookMethod, error)

NewLiveActivityWebhookMethodFromValue returns a pointer to a valid LiveActivityWebhookMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (LiveActivityWebhookMethod) IsValid added in v1.0.0

func (v LiveActivityWebhookMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (LiveActivityWebhookMethod) Ptr added in v1.0.0

Ptr returns reference to LiveActivityWebhookMethod value

func (*LiveActivityWebhookMethod) UnmarshalJSON added in v1.0.0

func (v *LiveActivityWebhookMethod) UnmarshalJSON(src []byte) error

type MappedNullable

type MappedNullable interface {
	ToMap() (map[string]interface{}, error)
}

type NoRecipientsError added in v0.1.2

type NoRecipientsError struct {
	Error                 string   `json:"error"`
	Message               string   `json:"message"`
	EffectiveChannelSlugs []string `json:"effective_channel_slugs,omitempty"`
	AdditionalProperties  map[string]interface{}
}

NoRecipientsError struct for NoRecipientsError

func NewNoRecipientsError added in v0.1.2

func NewNoRecipientsError(error_ string, message string) *NoRecipientsError

NewNoRecipientsError instantiates a new NoRecipientsError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNoRecipientsErrorWithDefaults added in v0.1.2

func NewNoRecipientsErrorWithDefaults() *NoRecipientsError

NewNoRecipientsErrorWithDefaults instantiates a new NoRecipientsError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NoRecipientsError) GetEffectiveChannelSlugs added in v0.1.2

func (o *NoRecipientsError) GetEffectiveChannelSlugs() []string

GetEffectiveChannelSlugs returns the EffectiveChannelSlugs field value if set, zero value otherwise.

func (*NoRecipientsError) GetEffectiveChannelSlugsOk added in v0.1.2

func (o *NoRecipientsError) GetEffectiveChannelSlugsOk() ([]string, bool)

GetEffectiveChannelSlugsOk returns a tuple with the EffectiveChannelSlugs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*NoRecipientsError) GetError added in v0.1.2

func (o *NoRecipientsError) GetError() string

GetError returns the Error field value

func (*NoRecipientsError) GetErrorOk added in v0.1.2

func (o *NoRecipientsError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*NoRecipientsError) GetMessage added in v0.1.2

func (o *NoRecipientsError) GetMessage() string

GetMessage returns the Message field value

func (*NoRecipientsError) GetMessageOk added in v0.1.2

func (o *NoRecipientsError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (*NoRecipientsError) HasEffectiveChannelSlugs added in v0.1.2

func (o *NoRecipientsError) HasEffectiveChannelSlugs() bool

HasEffectiveChannelSlugs returns a boolean if a field has been set.

func (NoRecipientsError) MarshalJSON added in v0.1.2

func (o NoRecipientsError) MarshalJSON() ([]byte, error)

func (*NoRecipientsError) SetEffectiveChannelSlugs added in v0.1.2

func (o *NoRecipientsError) SetEffectiveChannelSlugs(v []string)

SetEffectiveChannelSlugs gets a reference to the given []string and assigns it to the EffectiveChannelSlugs field.

func (*NoRecipientsError) SetError added in v0.1.2

func (o *NoRecipientsError) SetError(v string)

SetError sets field value

func (*NoRecipientsError) SetMessage added in v0.1.2

func (o *NoRecipientsError) SetMessage(v string)

SetMessage sets field value

func (NoRecipientsError) ToMap added in v0.1.2

func (o NoRecipientsError) ToMap() (map[string]interface{}, error)

func (*NoRecipientsError) UnmarshalJSON added in v0.1.2

func (o *NoRecipientsError) UnmarshalJSON(data []byte) (err error)

type NotFoundError added in v1.1.0

type NotFoundError struct {
	Error                string `json:"error"`
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

NotFoundError struct for NotFoundError

func NewNotFoundError added in v1.1.0

func NewNotFoundError(error_ string, message string) *NotFoundError

NewNotFoundError instantiates a new NotFoundError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewNotFoundErrorWithDefaults added in v1.1.0

func NewNotFoundErrorWithDefaults() *NotFoundError

NewNotFoundErrorWithDefaults instantiates a new NotFoundError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*NotFoundError) GetError added in v1.1.0

func (o *NotFoundError) GetError() string

GetError returns the Error field value

func (*NotFoundError) GetErrorOk added in v1.1.0

func (o *NotFoundError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*NotFoundError) GetMessage added in v1.1.0

func (o *NotFoundError) GetMessage() string

GetMessage returns the Message field value

func (*NotFoundError) GetMessageOk added in v1.1.0

func (o *NotFoundError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (NotFoundError) MarshalJSON added in v1.1.0

func (o NotFoundError) MarshalJSON() ([]byte, error)

func (*NotFoundError) SetError added in v1.1.0

func (o *NotFoundError) SetError(v string)

SetError sets field value

func (*NotFoundError) SetMessage added in v1.1.0

func (o *NotFoundError) SetMessage(v string)

SetMessage sets field value

func (NotFoundError) ToMap added in v1.1.0

func (o NotFoundError) ToMap() (map[string]interface{}, error)

func (*NotFoundError) UnmarshalJSON added in v1.1.0

func (o *NotFoundError) UnmarshalJSON(data []byte) (err error)

type NullableActivityMetric added in v1.1.0

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

func NewNullableActivityMetric added in v1.1.0

func NewNullableActivityMetric(val *ActivityMetric) *NullableActivityMetric

func (NullableActivityMetric) Get added in v1.1.0

func (NullableActivityMetric) IsSet added in v1.1.0

func (v NullableActivityMetric) IsSet() bool

func (NullableActivityMetric) MarshalJSON added in v1.1.0

func (v NullableActivityMetric) MarshalJSON() ([]byte, error)

func (*NullableActivityMetric) Set added in v1.1.0

func (*NullableActivityMetric) UnmarshalJSON added in v1.1.0

func (v *NullableActivityMetric) UnmarshalJSON(src []byte) error

func (*NullableActivityMetric) Unset added in v1.1.0

func (v *NullableActivityMetric) Unset()

type NullableAlertPayload added in v0.1.2

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

func NewNullableAlertPayload added in v0.1.2

func NewNullableAlertPayload(val *AlertPayload) *NullableAlertPayload

func (NullableAlertPayload) Get added in v0.1.2

func (NullableAlertPayload) IsSet added in v0.1.2

func (v NullableAlertPayload) IsSet() bool

func (NullableAlertPayload) MarshalJSON added in v0.1.2

func (v NullableAlertPayload) MarshalJSON() ([]byte, error)

func (*NullableAlertPayload) Set added in v0.1.2

func (v *NullableAlertPayload) Set(val *AlertPayload)

func (*NullableAlertPayload) UnmarshalJSON added in v0.1.2

func (v *NullableAlertPayload) UnmarshalJSON(src []byte) error

func (*NullableAlertPayload) Unset added in v0.1.2

func (v *NullableAlertPayload) Unset()

type NullableBadRequestError added in v0.1.2

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

func NewNullableBadRequestError added in v0.1.2

func NewNullableBadRequestError(val *BadRequestError) *NullableBadRequestError

func (NullableBadRequestError) Get added in v0.1.2

func (NullableBadRequestError) IsSet added in v0.1.2

func (v NullableBadRequestError) IsSet() bool

func (NullableBadRequestError) MarshalJSON added in v0.1.2

func (v NullableBadRequestError) MarshalJSON() ([]byte, error)

func (*NullableBadRequestError) Set added in v0.1.2

func (*NullableBadRequestError) UnmarshalJSON added in v0.1.2

func (v *NullableBadRequestError) UnmarshalJSON(src []byte) error

func (*NullableBadRequestError) Unset added in v0.1.2

func (v *NullableBadRequestError) Unset()

type NullableBool

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

func NewNullableBool

func NewNullableBool(val *bool) *NullableBool

func (NullableBool) Get

func (v NullableBool) Get() *bool

func (NullableBool) IsSet

func (v NullableBool) IsSet() bool

func (NullableBool) MarshalJSON

func (v NullableBool) MarshalJSON() ([]byte, error)

func (*NullableBool) Set

func (v *NullableBool) Set(val *bool)

func (*NullableBool) UnmarshalJSON

func (v *NullableBool) UnmarshalJSON(src []byte) error

func (*NullableBool) Unset

func (v *NullableBool) Unset()

type NullableChannelTarget added in v0.1.2

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

func NewNullableChannelTarget added in v0.1.2

func NewNullableChannelTarget(val *ChannelTarget) *NullableChannelTarget

func (NullableChannelTarget) Get added in v0.1.2

func (NullableChannelTarget) IsSet added in v0.1.2

func (v NullableChannelTarget) IsSet() bool

func (NullableChannelTarget) MarshalJSON added in v0.1.2

func (v NullableChannelTarget) MarshalJSON() ([]byte, error)

func (*NullableChannelTarget) Set added in v0.1.2

func (v *NullableChannelTarget) Set(val *ChannelTarget)

func (*NullableChannelTarget) UnmarshalJSON added in v0.1.2

func (v *NullableChannelTarget) UnmarshalJSON(src []byte) error

func (*NullableChannelTarget) Unset added in v0.1.2

func (v *NullableChannelTarget) Unset()

type NullableContentStateEnd

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

func NewNullableContentStateEnd

func NewNullableContentStateEnd(val *ContentStateEnd) *NullableContentStateEnd

func (NullableContentStateEnd) Get

func (NullableContentStateEnd) IsSet

func (v NullableContentStateEnd) IsSet() bool

func (NullableContentStateEnd) MarshalJSON

func (v NullableContentStateEnd) MarshalJSON() ([]byte, error)

func (*NullableContentStateEnd) Set

func (*NullableContentStateEnd) UnmarshalJSON

func (v *NullableContentStateEnd) UnmarshalJSON(src []byte) error

func (*NullableContentStateEnd) Unset

func (v *NullableContentStateEnd) Unset()

type NullableContentStateStart

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

func NewNullableContentStateStart

func NewNullableContentStateStart(val *ContentStateStart) *NullableContentStateStart

func (NullableContentStateStart) Get

func (NullableContentStateStart) IsSet

func (v NullableContentStateStart) IsSet() bool

func (NullableContentStateStart) MarshalJSON

func (v NullableContentStateStart) MarshalJSON() ([]byte, error)

func (*NullableContentStateStart) Set

func (*NullableContentStateStart) UnmarshalJSON

func (v *NullableContentStateStart) UnmarshalJSON(src []byte) error

func (*NullableContentStateStart) Unset

func (v *NullableContentStateStart) Unset()

type NullableContentStateUpdate

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

func NewNullableContentStateUpdate

func NewNullableContentStateUpdate(val *ContentStateUpdate) *NullableContentStateUpdate

func (NullableContentStateUpdate) Get

func (NullableContentStateUpdate) IsSet

func (v NullableContentStateUpdate) IsSet() bool

func (NullableContentStateUpdate) MarshalJSON

func (v NullableContentStateUpdate) MarshalJSON() ([]byte, error)

func (*NullableContentStateUpdate) Set

func (*NullableContentStateUpdate) UnmarshalJSON

func (v *NullableContentStateUpdate) UnmarshalJSON(src []byte) error

func (*NullableContentStateUpdate) Unset

func (v *NullableContentStateUpdate) Unset()

type NullableFloat32

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

func NewNullableFloat32

func NewNullableFloat32(val *float32) *NullableFloat32

func (NullableFloat32) Get

func (v NullableFloat32) Get() *float32

func (NullableFloat32) IsSet

func (v NullableFloat32) IsSet() bool

func (NullableFloat32) MarshalJSON

func (v NullableFloat32) MarshalJSON() ([]byte, error)

func (*NullableFloat32) Set

func (v *NullableFloat32) Set(val *float32)

func (*NullableFloat32) UnmarshalJSON

func (v *NullableFloat32) UnmarshalJSON(src []byte) error

func (*NullableFloat32) Unset

func (v *NullableFloat32) Unset()

type NullableFloat64

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

func NewNullableFloat64

func NewNullableFloat64(val *float64) *NullableFloat64

func (NullableFloat64) Get

func (v NullableFloat64) Get() *float64

func (NullableFloat64) IsSet

func (v NullableFloat64) IsSet() bool

func (NullableFloat64) MarshalJSON

func (v NullableFloat64) MarshalJSON() ([]byte, error)

func (*NullableFloat64) Set

func (v *NullableFloat64) Set(val *float64)

func (*NullableFloat64) UnmarshalJSON

func (v *NullableFloat64) UnmarshalJSON(src []byte) error

func (*NullableFloat64) Unset

func (v *NullableFloat64) Unset()

type NullableForbiddenError added in v0.1.2

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

func NewNullableForbiddenError added in v0.1.2

func NewNullableForbiddenError(val *ForbiddenError) *NullableForbiddenError

func (NullableForbiddenError) Get added in v0.1.2

func (NullableForbiddenError) IsSet added in v0.1.2

func (v NullableForbiddenError) IsSet() bool

func (NullableForbiddenError) MarshalJSON added in v0.1.2

func (v NullableForbiddenError) MarshalJSON() ([]byte, error)

func (*NullableForbiddenError) Set added in v0.1.2

func (*NullableForbiddenError) UnmarshalJSON added in v0.1.2

func (v *NullableForbiddenError) UnmarshalJSON(src []byte) error

func (*NullableForbiddenError) Unset added in v0.1.2

func (v *NullableForbiddenError) Unset()

type NullableInt

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

func NewNullableInt

func NewNullableInt(val *int) *NullableInt

func (NullableInt) Get

func (v NullableInt) Get() *int

func (NullableInt) IsSet

func (v NullableInt) IsSet() bool

func (NullableInt) MarshalJSON

func (v NullableInt) MarshalJSON() ([]byte, error)

func (*NullableInt) Set

func (v *NullableInt) Set(val *int)

func (*NullableInt) UnmarshalJSON

func (v *NullableInt) UnmarshalJSON(src []byte) error

func (*NullableInt) Unset

func (v *NullableInt) Unset()

type NullableInt32

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

func NewNullableInt32

func NewNullableInt32(val *int32) *NullableInt32

func (NullableInt32) Get

func (v NullableInt32) Get() *int32

func (NullableInt32) IsSet

func (v NullableInt32) IsSet() bool

func (NullableInt32) MarshalJSON

func (v NullableInt32) MarshalJSON() ([]byte, error)

func (*NullableInt32) Set

func (v *NullableInt32) Set(val *int32)

func (*NullableInt32) UnmarshalJSON

func (v *NullableInt32) UnmarshalJSON(src []byte) error

func (*NullableInt32) Unset

func (v *NullableInt32) Unset()

type NullableInt64

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

func NewNullableInt64

func NewNullableInt64(val *int64) *NullableInt64

func (NullableInt64) Get

func (v NullableInt64) Get() *int64

func (NullableInt64) IsSet

func (v NullableInt64) IsSet() bool

func (NullableInt64) MarshalJSON

func (v NullableInt64) MarshalJSON() ([]byte, error)

func (*NullableInt64) Set

func (v *NullableInt64) Set(val *int64)

func (*NullableInt64) UnmarshalJSON

func (v *NullableInt64) UnmarshalJSON(src []byte) error

func (*NullableInt64) Unset

func (v *NullableInt64) Unset()

type NullableLiveActivityAction added in v1.0.0

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

func NewNullableLiveActivityAction added in v1.0.0

func NewNullableLiveActivityAction(val *LiveActivityAction) *NullableLiveActivityAction

func (NullableLiveActivityAction) Get added in v1.0.0

func (NullableLiveActivityAction) IsSet added in v1.0.0

func (v NullableLiveActivityAction) IsSet() bool

func (NullableLiveActivityAction) MarshalJSON added in v1.0.0

func (v NullableLiveActivityAction) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityAction) Set added in v1.0.0

func (*NullableLiveActivityAction) UnmarshalJSON added in v1.0.0

func (v *NullableLiveActivityAction) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityAction) Unset added in v1.0.0

func (v *NullableLiveActivityAction) Unset()

type NullableLiveActivityActionType added in v1.0.0

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

func NewNullableLiveActivityActionType added in v1.0.0

func NewNullableLiveActivityActionType(val *LiveActivityActionType) *NullableLiveActivityActionType

func (NullableLiveActivityActionType) Get added in v1.0.0

func (NullableLiveActivityActionType) IsSet added in v1.0.0

func (NullableLiveActivityActionType) MarshalJSON added in v1.0.0

func (v NullableLiveActivityActionType) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityActionType) Set added in v1.0.0

func (*NullableLiveActivityActionType) UnmarshalJSON added in v1.0.0

func (v *NullableLiveActivityActionType) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityActionType) Unset added in v1.0.0

func (v *NullableLiveActivityActionType) Unset()

type NullableLiveActivityEndRequest

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

func (NullableLiveActivityEndRequest) Get

func (NullableLiveActivityEndRequest) IsSet

func (NullableLiveActivityEndRequest) MarshalJSON

func (v NullableLiveActivityEndRequest) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityEndRequest) Set

func (*NullableLiveActivityEndRequest) UnmarshalJSON

func (v *NullableLiveActivityEndRequest) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityEndRequest) Unset

func (v *NullableLiveActivityEndRequest) Unset()

type NullableLiveActivityEndResponse

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

func (NullableLiveActivityEndResponse) Get

func (NullableLiveActivityEndResponse) IsSet

func (NullableLiveActivityEndResponse) MarshalJSON

func (v NullableLiveActivityEndResponse) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityEndResponse) Set

func (*NullableLiveActivityEndResponse) UnmarshalJSON

func (v *NullableLiveActivityEndResponse) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityEndResponse) Unset

type NullableLiveActivityLimitError

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

func (NullableLiveActivityLimitError) Get

func (NullableLiveActivityLimitError) IsSet

func (NullableLiveActivityLimitError) MarshalJSON

func (v NullableLiveActivityLimitError) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityLimitError) Set

func (*NullableLiveActivityLimitError) UnmarshalJSON

func (v *NullableLiveActivityLimitError) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityLimitError) Unset

func (v *NullableLiveActivityLimitError) Unset()

type NullableLiveActivityStartRequest

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

func (NullableLiveActivityStartRequest) Get

func (NullableLiveActivityStartRequest) IsSet

func (NullableLiveActivityStartRequest) MarshalJSON

func (v NullableLiveActivityStartRequest) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityStartRequest) Set

func (*NullableLiveActivityStartRequest) UnmarshalJSON

func (v *NullableLiveActivityStartRequest) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityStartRequest) Unset

type NullableLiveActivityStartResponse

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

func (NullableLiveActivityStartResponse) Get

func (NullableLiveActivityStartResponse) IsSet

func (NullableLiveActivityStartResponse) MarshalJSON

func (v NullableLiveActivityStartResponse) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityStartResponse) Set

func (*NullableLiveActivityStartResponse) UnmarshalJSON

func (v *NullableLiveActivityStartResponse) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityStartResponse) Unset

type NullableLiveActivityStreamDeleteRequest added in v1.1.0

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

func NewNullableLiveActivityStreamDeleteRequest added in v1.1.0

func NewNullableLiveActivityStreamDeleteRequest(val *LiveActivityStreamDeleteRequest) *NullableLiveActivityStreamDeleteRequest

func (NullableLiveActivityStreamDeleteRequest) Get added in v1.1.0

func (NullableLiveActivityStreamDeleteRequest) IsSet added in v1.1.0

func (NullableLiveActivityStreamDeleteRequest) MarshalJSON added in v1.1.0

func (v NullableLiveActivityStreamDeleteRequest) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityStreamDeleteRequest) Set added in v1.1.0

func (*NullableLiveActivityStreamDeleteRequest) UnmarshalJSON added in v1.1.0

func (v *NullableLiveActivityStreamDeleteRequest) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityStreamDeleteRequest) Unset added in v1.1.0

type NullableLiveActivityStreamDeleteResponse added in v1.1.0

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

func NewNullableLiveActivityStreamDeleteResponse added in v1.1.0

func NewNullableLiveActivityStreamDeleteResponse(val *LiveActivityStreamDeleteResponse) *NullableLiveActivityStreamDeleteResponse

func (NullableLiveActivityStreamDeleteResponse) Get added in v1.1.0

func (NullableLiveActivityStreamDeleteResponse) IsSet added in v1.1.0

func (NullableLiveActivityStreamDeleteResponse) MarshalJSON added in v1.1.0

func (*NullableLiveActivityStreamDeleteResponse) Set added in v1.1.0

func (*NullableLiveActivityStreamDeleteResponse) UnmarshalJSON added in v1.1.0

func (v *NullableLiveActivityStreamDeleteResponse) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityStreamDeleteResponse) Unset added in v1.1.0

type NullableLiveActivityStreamPutResponse added in v1.1.0

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

func NewNullableLiveActivityStreamPutResponse added in v1.1.0

func NewNullableLiveActivityStreamPutResponse(val *LiveActivityStreamPutResponse) *NullableLiveActivityStreamPutResponse

func (NullableLiveActivityStreamPutResponse) Get added in v1.1.0

func (NullableLiveActivityStreamPutResponse) IsSet added in v1.1.0

func (NullableLiveActivityStreamPutResponse) MarshalJSON added in v1.1.0

func (v NullableLiveActivityStreamPutResponse) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityStreamPutResponse) Set added in v1.1.0

func (*NullableLiveActivityStreamPutResponse) UnmarshalJSON added in v1.1.0

func (v *NullableLiveActivityStreamPutResponse) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityStreamPutResponse) Unset added in v1.1.0

type NullableLiveActivityStreamRequest added in v1.1.0

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

func NewNullableLiveActivityStreamRequest added in v1.1.0

func NewNullableLiveActivityStreamRequest(val *LiveActivityStreamRequest) *NullableLiveActivityStreamRequest

func (NullableLiveActivityStreamRequest) Get added in v1.1.0

func (NullableLiveActivityStreamRequest) IsSet added in v1.1.0

func (NullableLiveActivityStreamRequest) MarshalJSON added in v1.1.0

func (v NullableLiveActivityStreamRequest) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityStreamRequest) Set added in v1.1.0

func (*NullableLiveActivityStreamRequest) UnmarshalJSON added in v1.1.0

func (v *NullableLiveActivityStreamRequest) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityStreamRequest) Unset added in v1.1.0

type NullableLiveActivityUpdateRequest

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

func (NullableLiveActivityUpdateRequest) Get

func (NullableLiveActivityUpdateRequest) IsSet

func (NullableLiveActivityUpdateRequest) MarshalJSON

func (v NullableLiveActivityUpdateRequest) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityUpdateRequest) Set

func (*NullableLiveActivityUpdateRequest) UnmarshalJSON

func (v *NullableLiveActivityUpdateRequest) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityUpdateRequest) Unset

type NullableLiveActivityUpdateResponse

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

func (NullableLiveActivityUpdateResponse) Get

func (NullableLiveActivityUpdateResponse) IsSet

func (NullableLiveActivityUpdateResponse) MarshalJSON

func (v NullableLiveActivityUpdateResponse) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityUpdateResponse) Set

func (*NullableLiveActivityUpdateResponse) UnmarshalJSON

func (v *NullableLiveActivityUpdateResponse) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityUpdateResponse) Unset

type NullableLiveActivityWebhookMethod added in v1.0.0

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

func NewNullableLiveActivityWebhookMethod added in v1.0.0

func NewNullableLiveActivityWebhookMethod(val *LiveActivityWebhookMethod) *NullableLiveActivityWebhookMethod

func (NullableLiveActivityWebhookMethod) Get added in v1.0.0

func (NullableLiveActivityWebhookMethod) IsSet added in v1.0.0

func (NullableLiveActivityWebhookMethod) MarshalJSON added in v1.0.0

func (v NullableLiveActivityWebhookMethod) MarshalJSON() ([]byte, error)

func (*NullableLiveActivityWebhookMethod) Set added in v1.0.0

func (*NullableLiveActivityWebhookMethod) UnmarshalJSON added in v1.0.0

func (v *NullableLiveActivityWebhookMethod) UnmarshalJSON(src []byte) error

func (*NullableLiveActivityWebhookMethod) Unset added in v1.0.0

type NullableNoRecipientsError added in v0.1.2

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

func NewNullableNoRecipientsError added in v0.1.2

func NewNullableNoRecipientsError(val *NoRecipientsError) *NullableNoRecipientsError

func (NullableNoRecipientsError) Get added in v0.1.2

func (NullableNoRecipientsError) IsSet added in v0.1.2

func (v NullableNoRecipientsError) IsSet() bool

func (NullableNoRecipientsError) MarshalJSON added in v0.1.2

func (v NullableNoRecipientsError) MarshalJSON() ([]byte, error)

func (*NullableNoRecipientsError) Set added in v0.1.2

func (*NullableNoRecipientsError) UnmarshalJSON added in v0.1.2

func (v *NullableNoRecipientsError) UnmarshalJSON(src []byte) error

func (*NullableNoRecipientsError) Unset added in v0.1.2

func (v *NullableNoRecipientsError) Unset()

type NullableNotFoundError added in v1.1.0

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

func NewNullableNotFoundError added in v1.1.0

func NewNullableNotFoundError(val *NotFoundError) *NullableNotFoundError

func (NullableNotFoundError) Get added in v1.1.0

func (NullableNotFoundError) IsSet added in v1.1.0

func (v NullableNotFoundError) IsSet() bool

func (NullableNotFoundError) MarshalJSON added in v1.1.0

func (v NullableNotFoundError) MarshalJSON() ([]byte, error)

func (*NullableNotFoundError) Set added in v1.1.0

func (v *NullableNotFoundError) Set(val *NotFoundError)

func (*NullableNotFoundError) UnmarshalJSON added in v1.1.0

func (v *NullableNotFoundError) UnmarshalJSON(src []byte) error

func (*NullableNotFoundError) Unset added in v1.1.0

func (v *NullableNotFoundError) Unset()

type NullablePushNotificationAction added in v0.1.4

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

func NewNullablePushNotificationAction added in v0.1.4

func NewNullablePushNotificationAction(val *PushNotificationAction) *NullablePushNotificationAction

func (NullablePushNotificationAction) Get added in v0.1.4

func (NullablePushNotificationAction) IsSet added in v0.1.4

func (NullablePushNotificationAction) MarshalJSON added in v0.1.4

func (v NullablePushNotificationAction) MarshalJSON() ([]byte, error)

func (*NullablePushNotificationAction) Set added in v0.1.4

func (*NullablePushNotificationAction) UnmarshalJSON added in v0.1.4

func (v *NullablePushNotificationAction) UnmarshalJSON(src []byte) error

func (*NullablePushNotificationAction) Unset added in v0.1.4

func (v *NullablePushNotificationAction) Unset()

type NullablePushNotificationActionType added in v0.1.4

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

func NewNullablePushNotificationActionType added in v0.1.4

func NewNullablePushNotificationActionType(val *PushNotificationActionType) *NullablePushNotificationActionType

func (NullablePushNotificationActionType) Get added in v0.1.4

func (NullablePushNotificationActionType) IsSet added in v0.1.4

func (NullablePushNotificationActionType) MarshalJSON added in v0.1.4

func (v NullablePushNotificationActionType) MarshalJSON() ([]byte, error)

func (*NullablePushNotificationActionType) Set added in v0.1.4

func (*NullablePushNotificationActionType) UnmarshalJSON added in v0.1.4

func (v *NullablePushNotificationActionType) UnmarshalJSON(src []byte) error

func (*NullablePushNotificationActionType) Unset added in v0.1.4

type NullablePushNotificationRequest

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

func (NullablePushNotificationRequest) Get

func (NullablePushNotificationRequest) IsSet

func (NullablePushNotificationRequest) MarshalJSON

func (v NullablePushNotificationRequest) MarshalJSON() ([]byte, error)

func (*NullablePushNotificationRequest) Set

func (*NullablePushNotificationRequest) UnmarshalJSON

func (v *NullablePushNotificationRequest) UnmarshalJSON(src []byte) error

func (*NullablePushNotificationRequest) Unset

type NullablePushNotificationResponse

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

func (NullablePushNotificationResponse) Get

func (NullablePushNotificationResponse) IsSet

func (NullablePushNotificationResponse) MarshalJSON

func (v NullablePushNotificationResponse) MarshalJSON() ([]byte, error)

func (*NullablePushNotificationResponse) Set

func (*NullablePushNotificationResponse) UnmarshalJSON

func (v *NullablePushNotificationResponse) UnmarshalJSON(src []byte) error

func (*NullablePushNotificationResponse) Unset

type NullablePushNotificationWebhookMethod added in v0.1.4

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

func NewNullablePushNotificationWebhookMethod added in v0.1.4

func NewNullablePushNotificationWebhookMethod(val *PushNotificationWebhookMethod) *NullablePushNotificationWebhookMethod

func (NullablePushNotificationWebhookMethod) Get added in v0.1.4

func (NullablePushNotificationWebhookMethod) IsSet added in v0.1.4

func (NullablePushNotificationWebhookMethod) MarshalJSON added in v0.1.4

func (v NullablePushNotificationWebhookMethod) MarshalJSON() ([]byte, error)

func (*NullablePushNotificationWebhookMethod) Set added in v0.1.4

func (*NullablePushNotificationWebhookMethod) UnmarshalJSON added in v0.1.4

func (v *NullablePushNotificationWebhookMethod) UnmarshalJSON(src []byte) error

func (*NullablePushNotificationWebhookMethod) Unset added in v0.1.4

type NullableRateLimitError

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

func NewNullableRateLimitError

func NewNullableRateLimitError(val *RateLimitError) *NullableRateLimitError

func (NullableRateLimitError) Get

func (NullableRateLimitError) IsSet

func (v NullableRateLimitError) IsSet() bool

func (NullableRateLimitError) MarshalJSON

func (v NullableRateLimitError) MarshalJSON() ([]byte, error)

func (*NullableRateLimitError) Set

func (*NullableRateLimitError) UnmarshalJSON

func (v *NullableRateLimitError) UnmarshalJSON(src []byte) error

func (*NullableRateLimitError) Unset

func (v *NullableRateLimitError) Unset()

type NullableSendPushNotification429Response

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

func (NullableSendPushNotification429Response) Get

func (NullableSendPushNotification429Response) IsSet

func (NullableSendPushNotification429Response) MarshalJSON

func (v NullableSendPushNotification429Response) MarshalJSON() ([]byte, error)

func (*NullableSendPushNotification429Response) Set

func (*NullableSendPushNotification429Response) UnmarshalJSON

func (v *NullableSendPushNotification429Response) UnmarshalJSON(src []byte) error

func (*NullableSendPushNotification429Response) Unset

type NullableStreamContentState added in v1.1.0

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

func NewNullableStreamContentState added in v1.1.0

func NewNullableStreamContentState(val *StreamContentState) *NullableStreamContentState

func (NullableStreamContentState) Get added in v1.1.0

func (NullableStreamContentState) IsSet added in v1.1.0

func (v NullableStreamContentState) IsSet() bool

func (NullableStreamContentState) MarshalJSON added in v1.1.0

func (v NullableStreamContentState) MarshalJSON() ([]byte, error)

func (*NullableStreamContentState) Set added in v1.1.0

func (*NullableStreamContentState) UnmarshalJSON added in v1.1.0

func (v *NullableStreamContentState) UnmarshalJSON(src []byte) error

func (*NullableStreamContentState) Unset added in v1.1.0

func (v *NullableStreamContentState) Unset()

type NullableString

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

func NewNullableString

func NewNullableString(val *string) *NullableString

func (NullableString) Get

func (v NullableString) Get() *string

func (NullableString) IsSet

func (v NullableString) IsSet() bool

func (NullableString) MarshalJSON

func (v NullableString) MarshalJSON() ([]byte, error)

func (*NullableString) Set

func (v *NullableString) Set(val *string)

func (*NullableString) UnmarshalJSON

func (v *NullableString) UnmarshalJSON(src []byte) error

func (*NullableString) Unset

func (v *NullableString) Unset()

type NullableTime

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

func NewNullableTime

func NewNullableTime(val *time.Time) *NullableTime

func (NullableTime) Get

func (v NullableTime) Get() *time.Time

func (NullableTime) IsSet

func (v NullableTime) IsSet() bool

func (NullableTime) MarshalJSON

func (v NullableTime) MarshalJSON() ([]byte, error)

func (*NullableTime) Set

func (v *NullableTime) Set(val *time.Time)

func (*NullableTime) UnmarshalJSON

func (v *NullableTime) UnmarshalJSON(src []byte) error

func (*NullableTime) Unset

func (v *NullableTime) Unset()

type PushNotificationAction added in v0.1.4

type PushNotificationAction struct {
	// Button title displayed in iOS expanded notification UI.
	Title string                     `json:"title"`
	Type  PushNotificationActionType `json:"type"`
	// HTTPS URL. For open_url it is opened in browser. For webhook it is called by ActivitySmith backend.
	Url string `json:"url" validate:"regexp=^https:\\/\\/"`
	// Webhook HTTP method. Used only when type=webhook.
	Method *PushNotificationWebhookMethod `json:"method,omitempty"`
	// Optional webhook payload body. Used only when type=webhook.
	Body                 map[string]interface{} `json:"body,omitempty"`
	AdditionalProperties map[string]interface{}
}

PushNotificationAction struct for PushNotificationAction

func NewPushNotificationAction added in v0.1.4

func NewPushNotificationAction(title string, type_ PushNotificationActionType, url string) *PushNotificationAction

NewPushNotificationAction instantiates a new PushNotificationAction object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushNotificationActionWithDefaults added in v0.1.4

func NewPushNotificationActionWithDefaults() *PushNotificationAction

NewPushNotificationActionWithDefaults instantiates a new PushNotificationAction object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushNotificationAction) GetBody added in v0.1.4

func (o *PushNotificationAction) GetBody() map[string]interface{}

GetBody returns the Body field value if set, zero value otherwise.

func (*PushNotificationAction) GetBodyOk added in v0.1.4

func (o *PushNotificationAction) GetBodyOk() (map[string]interface{}, bool)

GetBodyOk returns a tuple with the Body field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationAction) GetMethod added in v0.1.4

GetMethod returns the Method field value if set, zero value otherwise.

func (*PushNotificationAction) GetMethodOk added in v0.1.4

GetMethodOk returns a tuple with the Method field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationAction) GetTitle added in v0.1.4

func (o *PushNotificationAction) GetTitle() string

GetTitle returns the Title field value

func (*PushNotificationAction) GetTitleOk added in v0.1.4

func (o *PushNotificationAction) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*PushNotificationAction) GetType added in v0.1.4

GetType returns the Type field value

func (*PushNotificationAction) GetTypeOk added in v0.1.4

GetTypeOk returns a tuple with the Type field value and a boolean to check if the value has been set.

func (*PushNotificationAction) GetUrl added in v0.1.4

func (o *PushNotificationAction) GetUrl() string

GetUrl returns the Url field value

func (*PushNotificationAction) GetUrlOk added in v0.1.4

func (o *PushNotificationAction) GetUrlOk() (*string, bool)

GetUrlOk returns a tuple with the Url field value and a boolean to check if the value has been set.

func (*PushNotificationAction) HasBody added in v0.1.4

func (o *PushNotificationAction) HasBody() bool

HasBody returns a boolean if a field has been set.

func (*PushNotificationAction) HasMethod added in v0.1.4

func (o *PushNotificationAction) HasMethod() bool

HasMethod returns a boolean if a field has been set.

func (PushNotificationAction) MarshalJSON added in v0.1.4

func (o PushNotificationAction) MarshalJSON() ([]byte, error)

func (*PushNotificationAction) SetBody added in v0.1.4

func (o *PushNotificationAction) SetBody(v map[string]interface{})

SetBody gets a reference to the given map[string]interface{} and assigns it to the Body field.

func (*PushNotificationAction) SetMethod added in v0.1.4

SetMethod gets a reference to the given PushNotificationWebhookMethod and assigns it to the Method field.

func (*PushNotificationAction) SetTitle added in v0.1.4

func (o *PushNotificationAction) SetTitle(v string)

SetTitle sets field value

func (*PushNotificationAction) SetType added in v0.1.4

SetType sets field value

func (*PushNotificationAction) SetUrl added in v0.1.4

func (o *PushNotificationAction) SetUrl(v string)

SetUrl sets field value

func (PushNotificationAction) ToMap added in v0.1.4

func (o PushNotificationAction) ToMap() (map[string]interface{}, error)

func (*PushNotificationAction) UnmarshalJSON added in v0.1.4

func (o *PushNotificationAction) UnmarshalJSON(data []byte) (err error)

type PushNotificationActionType added in v0.1.4

type PushNotificationActionType string

PushNotificationActionType the model 'PushNotificationActionType'

const (
	PUSHNOTIFICATIONACTIONTYPE_OPEN_URL PushNotificationActionType = "open_url"
	PUSHNOTIFICATIONACTIONTYPE_WEBHOOK  PushNotificationActionType = "webhook"
)

List of PushNotificationActionType

func NewPushNotificationActionTypeFromValue added in v0.1.4

func NewPushNotificationActionTypeFromValue(v string) (*PushNotificationActionType, error)

NewPushNotificationActionTypeFromValue returns a pointer to a valid PushNotificationActionType for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PushNotificationActionType) IsValid added in v0.1.4

func (v PushNotificationActionType) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PushNotificationActionType) Ptr added in v0.1.4

Ptr returns reference to PushNotificationActionType value

func (*PushNotificationActionType) UnmarshalJSON added in v0.1.4

func (v *PushNotificationActionType) UnmarshalJSON(src []byte) error

type PushNotificationRequest

type PushNotificationRequest struct {
	Title    string  `json:"title"`
	Message  *string `json:"message,omitempty"`
	Subtitle *string `json:"subtitle,omitempty"`
	// Optional HTTPS URL for an image, audio file, or video that users can preview or play when they expand the notification. If `redirection` is omitted, tapping the notification opens this URL. Cannot be combined with `actions`.
	Media *string `json:"media,omitempty" validate:"regexp=^https:\\/\\/"`
	// Optional HTTPS URL opened when user taps the notification body. Overrides the default tap target from `media` when both are provided.
	Redirection *string `json:"redirection,omitempty" validate:"regexp=^https:\\/\\/"`
	// Optional interactive actions shown when users expand the notification. Cannot be combined with `media`.
	Actions              []PushNotificationAction `json:"actions,omitempty"`
	Payload              map[string]interface{}   `json:"payload,omitempty"`
	Badge                *int32                   `json:"badge,omitempty"`
	Sound                *string                  `json:"sound,omitempty"`
	Target               *ChannelTarget           `json:"target,omitempty"`
	AdditionalProperties map[string]interface{}
}

PushNotificationRequest struct for PushNotificationRequest

func NewPushNotificationRequest

func NewPushNotificationRequest(title string) *PushNotificationRequest

NewPushNotificationRequest instantiates a new PushNotificationRequest object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushNotificationRequestWithDefaults

func NewPushNotificationRequestWithDefaults() *PushNotificationRequest

NewPushNotificationRequestWithDefaults instantiates a new PushNotificationRequest object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushNotificationRequest) GetActions added in v0.1.4

GetActions returns the Actions field value if set, zero value otherwise.

func (*PushNotificationRequest) GetActionsOk added in v0.1.4

func (o *PushNotificationRequest) GetActionsOk() ([]PushNotificationAction, bool)

GetActionsOk returns a tuple with the Actions field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetBadge added in v0.1.2

func (o *PushNotificationRequest) GetBadge() int32

GetBadge returns the Badge field value if set, zero value otherwise.

func (*PushNotificationRequest) GetBadgeOk added in v0.1.2

func (o *PushNotificationRequest) GetBadgeOk() (*int32, bool)

GetBadgeOk returns a tuple with the Badge field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetMedia added in v0.1.8

func (o *PushNotificationRequest) GetMedia() string

GetMedia returns the Media field value if set, zero value otherwise.

func (*PushNotificationRequest) GetMediaOk added in v0.1.8

func (o *PushNotificationRequest) GetMediaOk() (*string, bool)

GetMediaOk returns a tuple with the Media field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetMessage

func (o *PushNotificationRequest) GetMessage() string

GetMessage returns the Message field value if set, zero value otherwise.

func (*PushNotificationRequest) GetMessageOk

func (o *PushNotificationRequest) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetPayload added in v0.1.2

func (o *PushNotificationRequest) GetPayload() map[string]interface{}

GetPayload returns the Payload field value if set, zero value otherwise.

func (*PushNotificationRequest) GetPayloadOk added in v0.1.2

func (o *PushNotificationRequest) GetPayloadOk() (map[string]interface{}, bool)

GetPayloadOk returns a tuple with the Payload field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetRedirection added in v0.1.4

func (o *PushNotificationRequest) GetRedirection() string

GetRedirection returns the Redirection field value if set, zero value otherwise.

func (*PushNotificationRequest) GetRedirectionOk added in v0.1.4

func (o *PushNotificationRequest) GetRedirectionOk() (*string, bool)

GetRedirectionOk returns a tuple with the Redirection field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetSound added in v0.1.2

func (o *PushNotificationRequest) GetSound() string

GetSound returns the Sound field value if set, zero value otherwise.

func (*PushNotificationRequest) GetSoundOk added in v0.1.2

func (o *PushNotificationRequest) GetSoundOk() (*string, bool)

GetSoundOk returns a tuple with the Sound field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetSubtitle

func (o *PushNotificationRequest) GetSubtitle() string

GetSubtitle returns the Subtitle field value if set, zero value otherwise.

func (*PushNotificationRequest) GetSubtitleOk

func (o *PushNotificationRequest) GetSubtitleOk() (*string, bool)

GetSubtitleOk returns a tuple with the Subtitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetTarget added in v0.1.2

func (o *PushNotificationRequest) GetTarget() ChannelTarget

GetTarget returns the Target field value if set, zero value otherwise.

func (*PushNotificationRequest) GetTargetOk added in v0.1.2

func (o *PushNotificationRequest) GetTargetOk() (*ChannelTarget, bool)

GetTargetOk returns a tuple with the Target field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationRequest) GetTitle

func (o *PushNotificationRequest) GetTitle() string

GetTitle returns the Title field value

func (*PushNotificationRequest) GetTitleOk

func (o *PushNotificationRequest) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*PushNotificationRequest) HasActions added in v0.1.4

func (o *PushNotificationRequest) HasActions() bool

HasActions returns a boolean if a field has been set.

func (*PushNotificationRequest) HasBadge added in v0.1.2

func (o *PushNotificationRequest) HasBadge() bool

HasBadge returns a boolean if a field has been set.

func (*PushNotificationRequest) HasMedia added in v0.1.8

func (o *PushNotificationRequest) HasMedia() bool

HasMedia returns a boolean if a field has been set.

func (*PushNotificationRequest) HasMessage

func (o *PushNotificationRequest) HasMessage() bool

HasMessage returns a boolean if a field has been set.

func (*PushNotificationRequest) HasPayload added in v0.1.2

func (o *PushNotificationRequest) HasPayload() bool

HasPayload returns a boolean if a field has been set.

func (*PushNotificationRequest) HasRedirection added in v0.1.4

func (o *PushNotificationRequest) HasRedirection() bool

HasRedirection returns a boolean if a field has been set.

func (*PushNotificationRequest) HasSound added in v0.1.2

func (o *PushNotificationRequest) HasSound() bool

HasSound returns a boolean if a field has been set.

func (*PushNotificationRequest) HasSubtitle

func (o *PushNotificationRequest) HasSubtitle() bool

HasSubtitle returns a boolean if a field has been set.

func (*PushNotificationRequest) HasTarget added in v0.1.2

func (o *PushNotificationRequest) HasTarget() bool

HasTarget returns a boolean if a field has been set.

func (PushNotificationRequest) MarshalJSON

func (o PushNotificationRequest) MarshalJSON() ([]byte, error)

func (*PushNotificationRequest) SetActions added in v0.1.4

SetActions gets a reference to the given []PushNotificationAction and assigns it to the Actions field.

func (*PushNotificationRequest) SetBadge added in v0.1.2

func (o *PushNotificationRequest) SetBadge(v int32)

SetBadge gets a reference to the given int32 and assigns it to the Badge field.

func (*PushNotificationRequest) SetMedia added in v0.1.8

func (o *PushNotificationRequest) SetMedia(v string)

SetMedia gets a reference to the given string and assigns it to the Media field.

func (*PushNotificationRequest) SetMessage

func (o *PushNotificationRequest) SetMessage(v string)

SetMessage gets a reference to the given string and assigns it to the Message field.

func (*PushNotificationRequest) SetPayload added in v0.1.2

func (o *PushNotificationRequest) SetPayload(v map[string]interface{})

SetPayload gets a reference to the given map[string]interface{} and assigns it to the Payload field.

func (*PushNotificationRequest) SetRedirection added in v0.1.4

func (o *PushNotificationRequest) SetRedirection(v string)

SetRedirection gets a reference to the given string and assigns it to the Redirection field.

func (*PushNotificationRequest) SetSound added in v0.1.2

func (o *PushNotificationRequest) SetSound(v string)

SetSound gets a reference to the given string and assigns it to the Sound field.

func (*PushNotificationRequest) SetSubtitle

func (o *PushNotificationRequest) SetSubtitle(v string)

SetSubtitle gets a reference to the given string and assigns it to the Subtitle field.

func (*PushNotificationRequest) SetTarget added in v0.1.2

func (o *PushNotificationRequest) SetTarget(v ChannelTarget)

SetTarget gets a reference to the given ChannelTarget and assigns it to the Target field.

func (*PushNotificationRequest) SetTitle

func (o *PushNotificationRequest) SetTitle(v string)

SetTitle sets field value

func (PushNotificationRequest) ToMap

func (o PushNotificationRequest) ToMap() (map[string]interface{}, error)

func (*PushNotificationRequest) UnmarshalJSON

func (o *PushNotificationRequest) UnmarshalJSON(data []byte) (err error)

type PushNotificationResponse

type PushNotificationResponse struct {
	Success               bool      `json:"success"`
	DevicesNotified       *int32    `json:"devices_notified,omitempty"`
	UsersNotified         *int32    `json:"users_notified,omitempty"`
	EffectiveChannelSlugs []string  `json:"effective_channel_slugs,omitempty"`
	Timestamp             time.Time `json:"timestamp"`
	AdditionalProperties  map[string]interface{}
}

PushNotificationResponse struct for PushNotificationResponse

func NewPushNotificationResponse

func NewPushNotificationResponse(success bool, timestamp time.Time) *PushNotificationResponse

NewPushNotificationResponse instantiates a new PushNotificationResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewPushNotificationResponseWithDefaults

func NewPushNotificationResponseWithDefaults() *PushNotificationResponse

NewPushNotificationResponseWithDefaults instantiates a new PushNotificationResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*PushNotificationResponse) GetDevicesNotified

func (o *PushNotificationResponse) GetDevicesNotified() int32

GetDevicesNotified returns the DevicesNotified field value if set, zero value otherwise.

func (*PushNotificationResponse) GetDevicesNotifiedOk

func (o *PushNotificationResponse) GetDevicesNotifiedOk() (*int32, bool)

GetDevicesNotifiedOk returns a tuple with the DevicesNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationResponse) GetEffectiveChannelSlugs added in v0.1.2

func (o *PushNotificationResponse) GetEffectiveChannelSlugs() []string

GetEffectiveChannelSlugs returns the EffectiveChannelSlugs field value if set, zero value otherwise.

func (*PushNotificationResponse) GetEffectiveChannelSlugsOk added in v0.1.2

func (o *PushNotificationResponse) GetEffectiveChannelSlugsOk() ([]string, bool)

GetEffectiveChannelSlugsOk returns a tuple with the EffectiveChannelSlugs field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationResponse) GetSuccess

func (o *PushNotificationResponse) GetSuccess() bool

GetSuccess returns the Success field value

func (*PushNotificationResponse) GetSuccessOk

func (o *PushNotificationResponse) GetSuccessOk() (*bool, bool)

GetSuccessOk returns a tuple with the Success field value and a boolean to check if the value has been set.

func (*PushNotificationResponse) GetTimestamp

func (o *PushNotificationResponse) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field value

func (*PushNotificationResponse) GetTimestampOk

func (o *PushNotificationResponse) GetTimestampOk() (*time.Time, bool)

GetTimestampOk returns a tuple with the Timestamp field value and a boolean to check if the value has been set.

func (*PushNotificationResponse) GetUsersNotified

func (o *PushNotificationResponse) GetUsersNotified() int32

GetUsersNotified returns the UsersNotified field value if set, zero value otherwise.

func (*PushNotificationResponse) GetUsersNotifiedOk

func (o *PushNotificationResponse) GetUsersNotifiedOk() (*int32, bool)

GetUsersNotifiedOk returns a tuple with the UsersNotified field value if set, nil otherwise and a boolean to check if the value has been set.

func (*PushNotificationResponse) HasDevicesNotified

func (o *PushNotificationResponse) HasDevicesNotified() bool

HasDevicesNotified returns a boolean if a field has been set.

func (*PushNotificationResponse) HasEffectiveChannelSlugs added in v0.1.2

func (o *PushNotificationResponse) HasEffectiveChannelSlugs() bool

HasEffectiveChannelSlugs returns a boolean if a field has been set.

func (*PushNotificationResponse) HasUsersNotified

func (o *PushNotificationResponse) HasUsersNotified() bool

HasUsersNotified returns a boolean if a field has been set.

func (PushNotificationResponse) MarshalJSON

func (o PushNotificationResponse) MarshalJSON() ([]byte, error)

func (*PushNotificationResponse) SetDevicesNotified

func (o *PushNotificationResponse) SetDevicesNotified(v int32)

SetDevicesNotified gets a reference to the given int32 and assigns it to the DevicesNotified field.

func (*PushNotificationResponse) SetEffectiveChannelSlugs added in v0.1.2

func (o *PushNotificationResponse) SetEffectiveChannelSlugs(v []string)

SetEffectiveChannelSlugs gets a reference to the given []string and assigns it to the EffectiveChannelSlugs field.

func (*PushNotificationResponse) SetSuccess

func (o *PushNotificationResponse) SetSuccess(v bool)

SetSuccess sets field value

func (*PushNotificationResponse) SetTimestamp

func (o *PushNotificationResponse) SetTimestamp(v time.Time)

SetTimestamp sets field value

func (*PushNotificationResponse) SetUsersNotified

func (o *PushNotificationResponse) SetUsersNotified(v int32)

SetUsersNotified gets a reference to the given int32 and assigns it to the UsersNotified field.

func (PushNotificationResponse) ToMap

func (o PushNotificationResponse) ToMap() (map[string]interface{}, error)

func (*PushNotificationResponse) UnmarshalJSON

func (o *PushNotificationResponse) UnmarshalJSON(data []byte) (err error)

type PushNotificationWebhookMethod added in v0.1.4

type PushNotificationWebhookMethod string

PushNotificationWebhookMethod the model 'PushNotificationWebhookMethod'

const (
	PUSHNOTIFICATIONWEBHOOKMETHOD_GET  PushNotificationWebhookMethod = "GET"
	PUSHNOTIFICATIONWEBHOOKMETHOD_POST PushNotificationWebhookMethod = "POST"
)

List of PushNotificationWebhookMethod

func NewPushNotificationWebhookMethodFromValue added in v0.1.4

func NewPushNotificationWebhookMethodFromValue(v string) (*PushNotificationWebhookMethod, error)

NewPushNotificationWebhookMethodFromValue returns a pointer to a valid PushNotificationWebhookMethod for the value passed as argument, or an error if the value passed is not allowed by the enum

func (PushNotificationWebhookMethod) IsValid added in v0.1.4

func (v PushNotificationWebhookMethod) IsValid() bool

IsValid return true if the value is valid for the enum, false otherwise

func (PushNotificationWebhookMethod) Ptr added in v0.1.4

Ptr returns reference to PushNotificationWebhookMethod value

func (*PushNotificationWebhookMethod) UnmarshalJSON added in v0.1.4

func (v *PushNotificationWebhookMethod) UnmarshalJSON(src []byte) error

type PushNotificationsAPIService

type PushNotificationsAPIService service

PushNotificationsAPIService PushNotificationsAPI service

func (*PushNotificationsAPIService) SendPushNotification

SendPushNotification Send a push notification

Sends a push notification to devices matched by API key scope and optional target channels. Supports optional redirection URL, optional media preview or playback when the notification is expanded, and up to 4 interactive actions. `media` cannot be combined with `actions`.

@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return ApiSendPushNotificationRequest

func (*PushNotificationsAPIService) SendPushNotificationExecute

Execute executes the request

@return PushNotificationResponse

type RateLimitError

type RateLimitError struct {
	Error                string `json:"error"`
	Message              string `json:"message"`
	AdditionalProperties map[string]interface{}
}

RateLimitError struct for RateLimitError

func NewRateLimitError

func NewRateLimitError(error_ string, message string) *RateLimitError

NewRateLimitError instantiates a new RateLimitError object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewRateLimitErrorWithDefaults

func NewRateLimitErrorWithDefaults() *RateLimitError

NewRateLimitErrorWithDefaults instantiates a new RateLimitError object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*RateLimitError) GetError

func (o *RateLimitError) GetError() string

GetError returns the Error field value

func (*RateLimitError) GetErrorOk

func (o *RateLimitError) GetErrorOk() (*string, bool)

GetErrorOk returns a tuple with the Error field value and a boolean to check if the value has been set.

func (*RateLimitError) GetMessage

func (o *RateLimitError) GetMessage() string

GetMessage returns the Message field value

func (*RateLimitError) GetMessageOk

func (o *RateLimitError) GetMessageOk() (*string, bool)

GetMessageOk returns a tuple with the Message field value and a boolean to check if the value has been set.

func (RateLimitError) MarshalJSON

func (o RateLimitError) MarshalJSON() ([]byte, error)

func (*RateLimitError) SetError

func (o *RateLimitError) SetError(v string)

SetError sets field value

func (*RateLimitError) SetMessage

func (o *RateLimitError) SetMessage(v string)

SetMessage sets field value

func (RateLimitError) ToMap

func (o RateLimitError) ToMap() (map[string]interface{}, error)

func (*RateLimitError) UnmarshalJSON

func (o *RateLimitError) UnmarshalJSON(data []byte) (err error)

type SendPushNotification429Response

type SendPushNotification429Response struct {
	LiveActivityLimitError *LiveActivityLimitError
	RateLimitError         *RateLimitError
}

SendPushNotification429Response - struct for SendPushNotification429Response

func LiveActivityLimitErrorAsSendPushNotification429Response

func LiveActivityLimitErrorAsSendPushNotification429Response(v *LiveActivityLimitError) SendPushNotification429Response

LiveActivityLimitErrorAsSendPushNotification429Response is a convenience function that returns LiveActivityLimitError wrapped in SendPushNotification429Response

func RateLimitErrorAsSendPushNotification429Response

func RateLimitErrorAsSendPushNotification429Response(v *RateLimitError) SendPushNotification429Response

RateLimitErrorAsSendPushNotification429Response is a convenience function that returns RateLimitError wrapped in SendPushNotification429Response

func (*SendPushNotification429Response) GetActualInstance

func (obj *SendPushNotification429Response) GetActualInstance() interface{}

Get the actual instance

func (SendPushNotification429Response) MarshalJSON

func (src SendPushNotification429Response) MarshalJSON() ([]byte, error)

Marshal data from the first non-nil pointers in the struct to JSON

func (*SendPushNotification429Response) UnmarshalJSON

func (dst *SendPushNotification429Response) UnmarshalJSON(data []byte) error

Unmarshal JSON data into one of the pointers in the struct

type ServerConfiguration

type ServerConfiguration struct {
	URL         string
	Description string
	Variables   map[string]ServerVariable
}

ServerConfiguration stores the information about a server

type ServerConfigurations

type ServerConfigurations []ServerConfiguration

ServerConfigurations stores multiple ServerConfiguration items

func (ServerConfigurations) URL

func (sc ServerConfigurations) URL(index int, variables map[string]string) (string, error)

URL formats template on a index using given variables

type ServerVariable

type ServerVariable struct {
	Description  string
	DefaultValue string
	EnumValues   []string
}

ServerVariable stores the information about a server variable

type StreamContentState added in v1.1.0

type StreamContentState struct {
	Title    string  `json:"title"`
	Subtitle *string `json:"subtitle,omitempty"`
	// Use for segmented_progress, counter, timer, and countdown.
	NumberOfSteps *int32 `json:"number_of_steps,omitempty"`
	// Use for segmented_progress, counter, timer, and countdown.
	CurrentStep *int32 `json:"current_step,omitempty"`
	// Use for progress. Takes precedence over value/upper_limit if both are provided.
	Percentage *float32 `json:"percentage,omitempty"`
	// Current progress value. Use with upper_limit for progress.
	Value *float32 `json:"value,omitempty"`
	// Maximum progress value. Use with value for progress.
	UpperLimit *float32 `json:"upper_limit,omitempty"`
	// Required on the first PUT or whenever the stream cannot infer the current activity type.
	Type *string `json:"type,omitempty"`
	// Optional. Accent color for the Live Activity. Defaults to blue.
	Color *string `json:"color,omitempty"`
	// Optional. Overrides color for the current step. Only applies to segmented_progress.
	StepColor *string `json:"step_color,omitempty"`
	// Optional. Colors for completed steps. When used with segmented_progress, the array length should match current_step.
	StepColors []string `json:"step_colors,omitempty"`
	// Use for metrics activities.
	Metrics []ActivityMetric `json:"metrics,omitempty"`
	// Optional. Seconds before the ended Live Activity is dismissed.
	AutoDismissSeconds *int32 `json:"auto_dismiss_seconds,omitempty"`
	// Optional. Minutes before the ended Live Activity is dismissed.
	AutoDismissMinutes   *int32 `json:"auto_dismiss_minutes,omitempty"`
	AdditionalProperties map[string]interface{}
}

StreamContentState Current state for a managed Live Activity stream. Include type on the first PUT, and whenever the stream may need to start a fresh activity. Supports segmented_progress, progress, metrics, and the legacy counter/timer/countdown step-based types.

func NewStreamContentState added in v1.1.0

func NewStreamContentState(title string) *StreamContentState

NewStreamContentState instantiates a new StreamContentState object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

func NewStreamContentStateWithDefaults added in v1.1.0

func NewStreamContentStateWithDefaults() *StreamContentState

NewStreamContentStateWithDefaults instantiates a new StreamContentState object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

func (*StreamContentState) GetAutoDismissMinutes added in v1.1.0

func (o *StreamContentState) GetAutoDismissMinutes() int32

GetAutoDismissMinutes returns the AutoDismissMinutes field value if set, zero value otherwise.

func (*StreamContentState) GetAutoDismissMinutesOk added in v1.1.0

func (o *StreamContentState) GetAutoDismissMinutesOk() (*int32, bool)

GetAutoDismissMinutesOk returns a tuple with the AutoDismissMinutes field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetAutoDismissSeconds added in v1.1.0

func (o *StreamContentState) GetAutoDismissSeconds() int32

GetAutoDismissSeconds returns the AutoDismissSeconds field value if set, zero value otherwise.

func (*StreamContentState) GetAutoDismissSecondsOk added in v1.1.0

func (o *StreamContentState) GetAutoDismissSecondsOk() (*int32, bool)

GetAutoDismissSecondsOk returns a tuple with the AutoDismissSeconds field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetColor added in v1.1.0

func (o *StreamContentState) GetColor() string

GetColor returns the Color field value if set, zero value otherwise.

func (*StreamContentState) GetColorOk added in v1.1.0

func (o *StreamContentState) GetColorOk() (*string, bool)

GetColorOk returns a tuple with the Color field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetCurrentStep added in v1.1.0

func (o *StreamContentState) GetCurrentStep() int32

GetCurrentStep returns the CurrentStep field value if set, zero value otherwise.

func (*StreamContentState) GetCurrentStepOk added in v1.1.0

func (o *StreamContentState) GetCurrentStepOk() (*int32, bool)

GetCurrentStepOk returns a tuple with the CurrentStep field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetMetrics added in v1.1.0

func (o *StreamContentState) GetMetrics() []ActivityMetric

GetMetrics returns the Metrics field value if set, zero value otherwise.

func (*StreamContentState) GetMetricsOk added in v1.1.0

func (o *StreamContentState) GetMetricsOk() ([]ActivityMetric, bool)

GetMetricsOk returns a tuple with the Metrics field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetNumberOfSteps added in v1.1.0

func (o *StreamContentState) GetNumberOfSteps() int32

GetNumberOfSteps returns the NumberOfSteps field value if set, zero value otherwise.

func (*StreamContentState) GetNumberOfStepsOk added in v1.1.0

func (o *StreamContentState) GetNumberOfStepsOk() (*int32, bool)

GetNumberOfStepsOk returns a tuple with the NumberOfSteps field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetPercentage added in v1.1.0

func (o *StreamContentState) GetPercentage() float32

GetPercentage returns the Percentage field value if set, zero value otherwise.

func (*StreamContentState) GetPercentageOk added in v1.1.0

func (o *StreamContentState) GetPercentageOk() (*float32, bool)

GetPercentageOk returns a tuple with the Percentage field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetStepColor added in v1.1.0

func (o *StreamContentState) GetStepColor() string

GetStepColor returns the StepColor field value if set, zero value otherwise.

func (*StreamContentState) GetStepColorOk added in v1.1.0

func (o *StreamContentState) GetStepColorOk() (*string, bool)

GetStepColorOk returns a tuple with the StepColor field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetStepColors added in v1.1.0

func (o *StreamContentState) GetStepColors() []string

GetStepColors returns the StepColors field value if set, zero value otherwise.

func (*StreamContentState) GetStepColorsOk added in v1.1.0

func (o *StreamContentState) GetStepColorsOk() ([]string, bool)

GetStepColorsOk returns a tuple with the StepColors field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetSubtitle added in v1.1.0

func (o *StreamContentState) GetSubtitle() string

GetSubtitle returns the Subtitle field value if set, zero value otherwise.

func (*StreamContentState) GetSubtitleOk added in v1.1.0

func (o *StreamContentState) GetSubtitleOk() (*string, bool)

GetSubtitleOk returns a tuple with the Subtitle field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetTitle added in v1.1.0

func (o *StreamContentState) GetTitle() string

GetTitle returns the Title field value

func (*StreamContentState) GetTitleOk added in v1.1.0

func (o *StreamContentState) GetTitleOk() (*string, bool)

GetTitleOk returns a tuple with the Title field value and a boolean to check if the value has been set.

func (*StreamContentState) GetType added in v1.1.0

func (o *StreamContentState) GetType() string

GetType returns the Type field value if set, zero value otherwise.

func (*StreamContentState) GetTypeOk added in v1.1.0

func (o *StreamContentState) GetTypeOk() (*string, bool)

GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetUpperLimit added in v1.1.0

func (o *StreamContentState) GetUpperLimit() float32

GetUpperLimit returns the UpperLimit field value if set, zero value otherwise.

func (*StreamContentState) GetUpperLimitOk added in v1.1.0

func (o *StreamContentState) GetUpperLimitOk() (*float32, bool)

GetUpperLimitOk returns a tuple with the UpperLimit field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) GetValue added in v1.1.0

func (o *StreamContentState) GetValue() float32

GetValue returns the Value field value if set, zero value otherwise.

func (*StreamContentState) GetValueOk added in v1.1.0

func (o *StreamContentState) GetValueOk() (*float32, bool)

GetValueOk returns a tuple with the Value field value if set, nil otherwise and a boolean to check if the value has been set.

func (*StreamContentState) HasAutoDismissMinutes added in v1.1.0

func (o *StreamContentState) HasAutoDismissMinutes() bool

HasAutoDismissMinutes returns a boolean if a field has been set.

func (*StreamContentState) HasAutoDismissSeconds added in v1.1.0

func (o *StreamContentState) HasAutoDismissSeconds() bool

HasAutoDismissSeconds returns a boolean if a field has been set.

func (*StreamContentState) HasColor added in v1.1.0

func (o *StreamContentState) HasColor() bool

HasColor returns a boolean if a field has been set.

func (*StreamContentState) HasCurrentStep added in v1.1.0

func (o *StreamContentState) HasCurrentStep() bool

HasCurrentStep returns a boolean if a field has been set.

func (*StreamContentState) HasMetrics added in v1.1.0

func (o *StreamContentState) HasMetrics() bool

HasMetrics returns a boolean if a field has been set.

func (*StreamContentState) HasNumberOfSteps added in v1.1.0

func (o *StreamContentState) HasNumberOfSteps() bool

HasNumberOfSteps returns a boolean if a field has been set.

func (*StreamContentState) HasPercentage added in v1.1.0

func (o *StreamContentState) HasPercentage() bool

HasPercentage returns a boolean if a field has been set.

func (*StreamContentState) HasStepColor added in v1.1.0

func (o *StreamContentState) HasStepColor() bool

HasStepColor returns a boolean if a field has been set.

func (*StreamContentState) HasStepColors added in v1.1.0

func (o *StreamContentState) HasStepColors() bool

HasStepColors returns a boolean if a field has been set.

func (*StreamContentState) HasSubtitle added in v1.1.0

func (o *StreamContentState) HasSubtitle() bool

HasSubtitle returns a boolean if a field has been set.

func (*StreamContentState) HasType added in v1.1.0

func (o *StreamContentState) HasType() bool

HasType returns a boolean if a field has been set.

func (*StreamContentState) HasUpperLimit added in v1.1.0

func (o *StreamContentState) HasUpperLimit() bool

HasUpperLimit returns a boolean if a field has been set.

func (*StreamContentState) HasValue added in v1.1.0

func (o *StreamContentState) HasValue() bool

HasValue returns a boolean if a field has been set.

func (StreamContentState) MarshalJSON added in v1.1.0

func (o StreamContentState) MarshalJSON() ([]byte, error)

func (*StreamContentState) SetAutoDismissMinutes added in v1.1.0

func (o *StreamContentState) SetAutoDismissMinutes(v int32)

SetAutoDismissMinutes gets a reference to the given int32 and assigns it to the AutoDismissMinutes field.

func (*StreamContentState) SetAutoDismissSeconds added in v1.1.0

func (o *StreamContentState) SetAutoDismissSeconds(v int32)

SetAutoDismissSeconds gets a reference to the given int32 and assigns it to the AutoDismissSeconds field.

func (*StreamContentState) SetColor added in v1.1.0

func (o *StreamContentState) SetColor(v string)

SetColor gets a reference to the given string and assigns it to the Color field.

func (*StreamContentState) SetCurrentStep added in v1.1.0

func (o *StreamContentState) SetCurrentStep(v int32)

SetCurrentStep gets a reference to the given int32 and assigns it to the CurrentStep field.

func (*StreamContentState) SetMetrics added in v1.1.0

func (o *StreamContentState) SetMetrics(v []ActivityMetric)

SetMetrics gets a reference to the given []ActivityMetric and assigns it to the Metrics field.

func (*StreamContentState) SetNumberOfSteps added in v1.1.0

func (o *StreamContentState) SetNumberOfSteps(v int32)

SetNumberOfSteps gets a reference to the given int32 and assigns it to the NumberOfSteps field.

func (*StreamContentState) SetPercentage added in v1.1.0

func (o *StreamContentState) SetPercentage(v float32)

SetPercentage gets a reference to the given float32 and assigns it to the Percentage field.

func (*StreamContentState) SetStepColor added in v1.1.0

func (o *StreamContentState) SetStepColor(v string)

SetStepColor gets a reference to the given string and assigns it to the StepColor field.

func (*StreamContentState) SetStepColors added in v1.1.0

func (o *StreamContentState) SetStepColors(v []string)

SetStepColors gets a reference to the given []string and assigns it to the StepColors field.

func (*StreamContentState) SetSubtitle added in v1.1.0

func (o *StreamContentState) SetSubtitle(v string)

SetSubtitle gets a reference to the given string and assigns it to the Subtitle field.

func (*StreamContentState) SetTitle added in v1.1.0

func (o *StreamContentState) SetTitle(v string)

SetTitle sets field value

func (*StreamContentState) SetType added in v1.1.0

func (o *StreamContentState) SetType(v string)

SetType gets a reference to the given string and assigns it to the Type field.

func (*StreamContentState) SetUpperLimit added in v1.1.0

func (o *StreamContentState) SetUpperLimit(v float32)

SetUpperLimit gets a reference to the given float32 and assigns it to the UpperLimit field.

func (*StreamContentState) SetValue added in v1.1.0

func (o *StreamContentState) SetValue(v float32)

SetValue gets a reference to the given float32 and assigns it to the Value field.

func (StreamContentState) ToMap added in v1.1.0

func (o StreamContentState) ToMap() (map[string]interface{}, error)

func (*StreamContentState) UnmarshalJSON added in v1.1.0

func (o *StreamContentState) UnmarshalJSON(data []byte) (err error)

Jump to

Keyboard shortcuts

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