Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ActivityMetric
- func (o *ActivityMetric) GetLabel() string
- func (o *ActivityMetric) GetLabelOk() (*string, bool)
- func (o *ActivityMetric) GetUnit() string
- func (o *ActivityMetric) GetUnitOk() (*string, bool)
- func (o *ActivityMetric) GetValue() float32
- func (o *ActivityMetric) GetValueOk() (*float32, bool)
- func (o *ActivityMetric) HasUnit() bool
- func (o ActivityMetric) MarshalJSON() ([]byte, error)
- func (o *ActivityMetric) SetLabel(v string)
- func (o *ActivityMetric) SetUnit(v string)
- func (o *ActivityMetric) SetValue(v float32)
- func (o ActivityMetric) ToMap() (map[string]interface{}, error)
- func (o *ActivityMetric) UnmarshalJSON(data []byte) (err error)
- type AlertPayload
- func (o *AlertPayload) GetBody() string
- func (o *AlertPayload) GetBodyOk() (*string, bool)
- func (o *AlertPayload) GetTitle() string
- func (o *AlertPayload) GetTitleOk() (*string, bool)
- func (o *AlertPayload) HasBody() bool
- func (o *AlertPayload) HasTitle() bool
- func (o AlertPayload) MarshalJSON() ([]byte, error)
- func (o *AlertPayload) SetBody(v string)
- func (o *AlertPayload) SetTitle(v string)
- func (o AlertPayload) ToMap() (map[string]interface{}, error)
- func (o *AlertPayload) UnmarshalJSON(data []byte) (err error)
- type ApiEndLiveActivityRequest
- type ApiEndLiveActivityStreamRequest
- type ApiReconcileLiveActivityStreamRequest
- type ApiSendPushNotificationRequest
- type ApiStartLiveActivityRequest
- type ApiUpdateLiveActivityRequest
- type BadRequestError
- func (o *BadRequestError) GetError() string
- func (o *BadRequestError) GetErrorOk() (*string, bool)
- func (o *BadRequestError) GetMessage() string
- func (o *BadRequestError) GetMessageOk() (*string, bool)
- func (o BadRequestError) MarshalJSON() ([]byte, error)
- func (o *BadRequestError) SetError(v string)
- func (o *BadRequestError) SetMessage(v string)
- func (o BadRequestError) ToMap() (map[string]interface{}, error)
- func (o *BadRequestError) UnmarshalJSON(data []byte) (err error)
- type BasicAuth
- type ChannelTarget
- func (o *ChannelTarget) GetChannels() []string
- func (o *ChannelTarget) GetChannelsOk() ([]string, bool)
- func (o ChannelTarget) MarshalJSON() ([]byte, error)
- func (o *ChannelTarget) SetChannels(v []string)
- func (o ChannelTarget) ToMap() (map[string]interface{}, error)
- func (o *ChannelTarget) UnmarshalJSON(data []byte) (err error)
- type Configuration
- type ContentStateEnd
- func (o *ContentStateEnd) GetAutoDismissMinutes() int32
- func (o *ContentStateEnd) GetAutoDismissMinutesOk() (*int32, bool)
- func (o *ContentStateEnd) GetColor() string
- func (o *ContentStateEnd) GetColorOk() (*string, bool)
- func (o *ContentStateEnd) GetCurrentStep() int32
- func (o *ContentStateEnd) GetCurrentStepOk() (*int32, bool)
- func (o *ContentStateEnd) GetMetrics() []ActivityMetric
- func (o *ContentStateEnd) GetMetricsOk() ([]ActivityMetric, bool)
- func (o *ContentStateEnd) GetNumberOfSteps() int32
- func (o *ContentStateEnd) GetNumberOfStepsOk() (*int32, bool)
- func (o *ContentStateEnd) GetPercentage() float32
- func (o *ContentStateEnd) GetPercentageOk() (*float32, bool)
- func (o *ContentStateEnd) GetStepColor() string
- func (o *ContentStateEnd) GetStepColorOk() (*string, bool)
- func (o *ContentStateEnd) GetStepColors() []string
- func (o *ContentStateEnd) GetStepColorsOk() ([]string, bool)
- func (o *ContentStateEnd) GetSubtitle() string
- func (o *ContentStateEnd) GetSubtitleOk() (*string, bool)
- func (o *ContentStateEnd) GetTitle() string
- func (o *ContentStateEnd) GetTitleOk() (*string, bool)
- func (o *ContentStateEnd) GetType() string
- func (o *ContentStateEnd) GetTypeOk() (*string, bool)
- func (o *ContentStateEnd) GetUpperLimit() float32
- func (o *ContentStateEnd) GetUpperLimitOk() (*float32, bool)
- func (o *ContentStateEnd) GetValue() float32
- func (o *ContentStateEnd) GetValueOk() (*float32, bool)
- func (o *ContentStateEnd) HasAutoDismissMinutes() bool
- func (o *ContentStateEnd) HasColor() bool
- func (o *ContentStateEnd) HasCurrentStep() bool
- func (o *ContentStateEnd) HasMetrics() bool
- func (o *ContentStateEnd) HasNumberOfSteps() bool
- func (o *ContentStateEnd) HasPercentage() bool
- func (o *ContentStateEnd) HasStepColor() bool
- func (o *ContentStateEnd) HasStepColors() bool
- func (o *ContentStateEnd) HasSubtitle() bool
- func (o *ContentStateEnd) HasType() bool
- func (o *ContentStateEnd) HasUpperLimit() bool
- func (o *ContentStateEnd) HasValue() bool
- func (o ContentStateEnd) MarshalJSON() ([]byte, error)
- func (o *ContentStateEnd) SetAutoDismissMinutes(v int32)
- func (o *ContentStateEnd) SetColor(v string)
- func (o *ContentStateEnd) SetCurrentStep(v int32)
- func (o *ContentStateEnd) SetMetrics(v []ActivityMetric)
- func (o *ContentStateEnd) SetNumberOfSteps(v int32)
- func (o *ContentStateEnd) SetPercentage(v float32)
- func (o *ContentStateEnd) SetStepColor(v string)
- func (o *ContentStateEnd) SetStepColors(v []string)
- func (o *ContentStateEnd) SetSubtitle(v string)
- func (o *ContentStateEnd) SetTitle(v string)
- func (o *ContentStateEnd) SetType(v string)
- func (o *ContentStateEnd) SetUpperLimit(v float32)
- func (o *ContentStateEnd) SetValue(v float32)
- func (o ContentStateEnd) ToMap() (map[string]interface{}, error)
- func (o *ContentStateEnd) UnmarshalJSON(data []byte) (err error)
- type ContentStateStart
- func (o *ContentStateStart) GetColor() string
- func (o *ContentStateStart) GetColorOk() (*string, bool)
- func (o *ContentStateStart) GetCurrentStep() int32
- func (o *ContentStateStart) GetCurrentStepOk() (*int32, bool)
- func (o *ContentStateStart) GetMetrics() []ActivityMetric
- func (o *ContentStateStart) GetMetricsOk() ([]ActivityMetric, bool)
- func (o *ContentStateStart) GetNumberOfSteps() int32
- func (o *ContentStateStart) GetNumberOfStepsOk() (*int32, bool)
- func (o *ContentStateStart) GetPercentage() float32
- func (o *ContentStateStart) GetPercentageOk() (*float32, bool)
- func (o *ContentStateStart) GetStepColor() string
- func (o *ContentStateStart) GetStepColorOk() (*string, bool)
- func (o *ContentStateStart) GetStepColors() []string
- func (o *ContentStateStart) GetStepColorsOk() ([]string, bool)
- func (o *ContentStateStart) GetSubtitle() string
- func (o *ContentStateStart) GetSubtitleOk() (*string, bool)
- func (o *ContentStateStart) GetTitle() string
- func (o *ContentStateStart) GetTitleOk() (*string, bool)
- func (o *ContentStateStart) GetType() string
- func (o *ContentStateStart) GetTypeOk() (*string, bool)
- func (o *ContentStateStart) GetUpperLimit() float32
- func (o *ContentStateStart) GetUpperLimitOk() (*float32, bool)
- func (o *ContentStateStart) GetValue() float32
- func (o *ContentStateStart) GetValueOk() (*float32, bool)
- func (o *ContentStateStart) HasColor() bool
- func (o *ContentStateStart) HasCurrentStep() bool
- func (o *ContentStateStart) HasMetrics() bool
- func (o *ContentStateStart) HasNumberOfSteps() bool
- func (o *ContentStateStart) HasPercentage() bool
- func (o *ContentStateStart) HasStepColor() bool
- func (o *ContentStateStart) HasStepColors() bool
- func (o *ContentStateStart) HasSubtitle() bool
- func (o *ContentStateStart) HasUpperLimit() bool
- func (o *ContentStateStart) HasValue() bool
- func (o ContentStateStart) MarshalJSON() ([]byte, error)
- func (o *ContentStateStart) SetColor(v string)
- func (o *ContentStateStart) SetCurrentStep(v int32)
- func (o *ContentStateStart) SetMetrics(v []ActivityMetric)
- func (o *ContentStateStart) SetNumberOfSteps(v int32)
- func (o *ContentStateStart) SetPercentage(v float32)
- func (o *ContentStateStart) SetStepColor(v string)
- func (o *ContentStateStart) SetStepColors(v []string)
- func (o *ContentStateStart) SetSubtitle(v string)
- func (o *ContentStateStart) SetTitle(v string)
- func (o *ContentStateStart) SetType(v string)
- func (o *ContentStateStart) SetUpperLimit(v float32)
- func (o *ContentStateStart) SetValue(v float32)
- func (o ContentStateStart) ToMap() (map[string]interface{}, error)
- func (o *ContentStateStart) UnmarshalJSON(data []byte) (err error)
- type ContentStateUpdate
- func (o *ContentStateUpdate) GetColor() string
- func (o *ContentStateUpdate) GetColorOk() (*string, bool)
- func (o *ContentStateUpdate) GetCurrentStep() int32
- func (o *ContentStateUpdate) GetCurrentStepOk() (*int32, bool)
- func (o *ContentStateUpdate) GetMetrics() []ActivityMetric
- func (o *ContentStateUpdate) GetMetricsOk() ([]ActivityMetric, bool)
- func (o *ContentStateUpdate) GetNumberOfSteps() int32
- func (o *ContentStateUpdate) GetNumberOfStepsOk() (*int32, bool)
- func (o *ContentStateUpdate) GetPercentage() float32
- func (o *ContentStateUpdate) GetPercentageOk() (*float32, bool)
- func (o *ContentStateUpdate) GetStepColor() string
- func (o *ContentStateUpdate) GetStepColorOk() (*string, bool)
- func (o *ContentStateUpdate) GetStepColors() []string
- func (o *ContentStateUpdate) GetStepColorsOk() ([]string, bool)
- func (o *ContentStateUpdate) GetSubtitle() string
- func (o *ContentStateUpdate) GetSubtitleOk() (*string, bool)
- func (o *ContentStateUpdate) GetTitle() string
- func (o *ContentStateUpdate) GetTitleOk() (*string, bool)
- func (o *ContentStateUpdate) GetType() string
- func (o *ContentStateUpdate) GetTypeOk() (*string, bool)
- func (o *ContentStateUpdate) GetUpperLimit() float32
- func (o *ContentStateUpdate) GetUpperLimitOk() (*float32, bool)
- func (o *ContentStateUpdate) GetValue() float32
- func (o *ContentStateUpdate) GetValueOk() (*float32, bool)
- func (o *ContentStateUpdate) HasColor() bool
- func (o *ContentStateUpdate) HasCurrentStep() bool
- func (o *ContentStateUpdate) HasMetrics() bool
- func (o *ContentStateUpdate) HasNumberOfSteps() bool
- func (o *ContentStateUpdate) HasPercentage() bool
- func (o *ContentStateUpdate) HasStepColor() bool
- func (o *ContentStateUpdate) HasStepColors() bool
- func (o *ContentStateUpdate) HasSubtitle() bool
- func (o *ContentStateUpdate) HasType() bool
- func (o *ContentStateUpdate) HasUpperLimit() bool
- func (o *ContentStateUpdate) HasValue() bool
- func (o ContentStateUpdate) MarshalJSON() ([]byte, error)
- func (o *ContentStateUpdate) SetColor(v string)
- func (o *ContentStateUpdate) SetCurrentStep(v int32)
- func (o *ContentStateUpdate) SetMetrics(v []ActivityMetric)
- func (o *ContentStateUpdate) SetNumberOfSteps(v int32)
- func (o *ContentStateUpdate) SetPercentage(v float32)
- func (o *ContentStateUpdate) SetStepColor(v string)
- func (o *ContentStateUpdate) SetStepColors(v []string)
- func (o *ContentStateUpdate) SetSubtitle(v string)
- func (o *ContentStateUpdate) SetTitle(v string)
- func (o *ContentStateUpdate) SetType(v string)
- func (o *ContentStateUpdate) SetUpperLimit(v float32)
- func (o *ContentStateUpdate) SetValue(v float32)
- func (o ContentStateUpdate) ToMap() (map[string]interface{}, error)
- func (o *ContentStateUpdate) UnmarshalJSON(data []byte) (err error)
- type ForbiddenError
- func (o *ForbiddenError) GetError() string
- func (o *ForbiddenError) GetErrorOk() (*string, bool)
- func (o *ForbiddenError) GetMessage() string
- func (o *ForbiddenError) GetMessageOk() (*string, bool)
- func (o ForbiddenError) MarshalJSON() ([]byte, error)
- func (o *ForbiddenError) SetError(v string)
- func (o *ForbiddenError) SetMessage(v string)
- func (o ForbiddenError) ToMap() (map[string]interface{}, error)
- func (o *ForbiddenError) UnmarshalJSON(data []byte) (err error)
- type GenericOpenAPIError
- type LiveActivitiesAPIService
- func (a *LiveActivitiesAPIService) EndLiveActivity(ctx context.Context) ApiEndLiveActivityRequest
- func (a *LiveActivitiesAPIService) EndLiveActivityExecute(r ApiEndLiveActivityRequest) (*LiveActivityEndResponse, *http.Response, error)
- func (a *LiveActivitiesAPIService) EndLiveActivityStream(ctx context.Context, streamKey string) ApiEndLiveActivityStreamRequest
- func (a *LiveActivitiesAPIService) EndLiveActivityStreamExecute(r ApiEndLiveActivityStreamRequest) (*LiveActivityStreamDeleteResponse, *http.Response, error)
- func (a *LiveActivitiesAPIService) ReconcileLiveActivityStream(ctx context.Context, streamKey string) ApiReconcileLiveActivityStreamRequest
- func (a *LiveActivitiesAPIService) ReconcileLiveActivityStreamExecute(r ApiReconcileLiveActivityStreamRequest) (*LiveActivityStreamPutResponse, *http.Response, error)
- func (a *LiveActivitiesAPIService) StartLiveActivity(ctx context.Context) ApiStartLiveActivityRequest
- func (a *LiveActivitiesAPIService) StartLiveActivityExecute(r ApiStartLiveActivityRequest) (*LiveActivityStartResponse, *http.Response, error)
- func (a *LiveActivitiesAPIService) UpdateLiveActivity(ctx context.Context) ApiUpdateLiveActivityRequest
- func (a *LiveActivitiesAPIService) UpdateLiveActivityExecute(r ApiUpdateLiveActivityRequest) (*LiveActivityUpdateResponse, *http.Response, error)
- type LiveActivityAction
- func (o *LiveActivityAction) GetBody() map[string]interface{}
- func (o *LiveActivityAction) GetBodyOk() (map[string]interface{}, bool)
- func (o *LiveActivityAction) GetMethod() LiveActivityWebhookMethod
- func (o *LiveActivityAction) GetMethodOk() (*LiveActivityWebhookMethod, bool)
- func (o *LiveActivityAction) GetTitle() string
- func (o *LiveActivityAction) GetTitleOk() (*string, bool)
- func (o *LiveActivityAction) GetType() LiveActivityActionType
- func (o *LiveActivityAction) GetTypeOk() (*LiveActivityActionType, bool)
- func (o *LiveActivityAction) GetUrl() string
- func (o *LiveActivityAction) GetUrlOk() (*string, bool)
- func (o *LiveActivityAction) HasBody() bool
- func (o *LiveActivityAction) HasMethod() bool
- func (o LiveActivityAction) MarshalJSON() ([]byte, error)
- func (o *LiveActivityAction) SetBody(v map[string]interface{})
- func (o *LiveActivityAction) SetMethod(v LiveActivityWebhookMethod)
- func (o *LiveActivityAction) SetTitle(v string)
- func (o *LiveActivityAction) SetType(v LiveActivityActionType)
- func (o *LiveActivityAction) SetUrl(v string)
- func (o LiveActivityAction) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityAction) UnmarshalJSON(data []byte) (err error)
- type LiveActivityActionType
- type LiveActivityEndRequest
- func (o *LiveActivityEndRequest) GetAction() LiveActivityAction
- func (o *LiveActivityEndRequest) GetActionOk() (*LiveActivityAction, bool)
- func (o *LiveActivityEndRequest) GetActivityId() string
- func (o *LiveActivityEndRequest) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityEndRequest) GetContentState() ContentStateEnd
- func (o *LiveActivityEndRequest) GetContentStateOk() (*ContentStateEnd, bool)
- func (o *LiveActivityEndRequest) HasAction() bool
- func (o LiveActivityEndRequest) MarshalJSON() ([]byte, error)
- func (o *LiveActivityEndRequest) SetAction(v LiveActivityAction)
- func (o *LiveActivityEndRequest) SetActivityId(v string)
- func (o *LiveActivityEndRequest) SetContentState(v ContentStateEnd)
- func (o LiveActivityEndRequest) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityEndRequest) UnmarshalJSON(data []byte) (err error)
- type LiveActivityEndResponse
- func (o *LiveActivityEndResponse) GetActivityId() string
- func (o *LiveActivityEndResponse) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityEndResponse) GetDevicesNotified() int32
- func (o *LiveActivityEndResponse) GetDevicesNotifiedOk() (*int32, bool)
- func (o *LiveActivityEndResponse) GetDevicesQueued() int32
- func (o *LiveActivityEndResponse) GetDevicesQueuedOk() (*int32, bool)
- func (o *LiveActivityEndResponse) GetSuccess() bool
- func (o *LiveActivityEndResponse) GetSuccessOk() (*bool, bool)
- func (o *LiveActivityEndResponse) GetTimestamp() time.Time
- func (o *LiveActivityEndResponse) GetTimestampOk() (*time.Time, bool)
- func (o *LiveActivityEndResponse) HasDevicesNotified() bool
- func (o *LiveActivityEndResponse) HasDevicesQueued() bool
- func (o LiveActivityEndResponse) MarshalJSON() ([]byte, error)
- func (o *LiveActivityEndResponse) SetActivityId(v string)
- func (o *LiveActivityEndResponse) SetDevicesNotified(v int32)
- func (o *LiveActivityEndResponse) SetDevicesQueued(v int32)
- func (o *LiveActivityEndResponse) SetSuccess(v bool)
- func (o *LiveActivityEndResponse) SetTimestamp(v time.Time)
- func (o LiveActivityEndResponse) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityEndResponse) UnmarshalJSON(data []byte) (err error)
- type LiveActivityLimitError
- func (o *LiveActivityLimitError) GetActive() int32
- func (o *LiveActivityLimitError) GetActiveOk() (*int32, bool)
- func (o *LiveActivityLimitError) GetError() string
- func (o *LiveActivityLimitError) GetErrorOk() (*string, bool)
- func (o *LiveActivityLimitError) GetLimit() int32
- func (o *LiveActivityLimitError) GetLimitOk() (*int32, bool)
- func (o *LiveActivityLimitError) GetMessage() string
- func (o *LiveActivityLimitError) GetMessageOk() (*string, bool)
- func (o LiveActivityLimitError) MarshalJSON() ([]byte, error)
- func (o *LiveActivityLimitError) SetActive(v int32)
- func (o *LiveActivityLimitError) SetError(v string)
- func (o *LiveActivityLimitError) SetLimit(v int32)
- func (o *LiveActivityLimitError) SetMessage(v string)
- func (o LiveActivityLimitError) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityLimitError) UnmarshalJSON(data []byte) (err error)
- type LiveActivityStartRequest
- func (o *LiveActivityStartRequest) GetAction() LiveActivityAction
- func (o *LiveActivityStartRequest) GetActionOk() (*LiveActivityAction, bool)
- func (o *LiveActivityStartRequest) GetAlert() AlertPayload
- func (o *LiveActivityStartRequest) GetAlertOk() (*AlertPayload, bool)
- func (o *LiveActivityStartRequest) GetContentState() ContentStateStart
- func (o *LiveActivityStartRequest) GetContentStateOk() (*ContentStateStart, bool)
- func (o *LiveActivityStartRequest) GetTarget() ChannelTarget
- func (o *LiveActivityStartRequest) GetTargetOk() (*ChannelTarget, bool)
- func (o *LiveActivityStartRequest) HasAction() bool
- func (o *LiveActivityStartRequest) HasAlert() bool
- func (o *LiveActivityStartRequest) HasTarget() bool
- func (o LiveActivityStartRequest) MarshalJSON() ([]byte, error)
- func (o *LiveActivityStartRequest) SetAction(v LiveActivityAction)
- func (o *LiveActivityStartRequest) SetAlert(v AlertPayload)
- func (o *LiveActivityStartRequest) SetContentState(v ContentStateStart)
- func (o *LiveActivityStartRequest) SetTarget(v ChannelTarget)
- func (o LiveActivityStartRequest) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityStartRequest) UnmarshalJSON(data []byte) (err error)
- type LiveActivityStartResponse
- func (o *LiveActivityStartResponse) GetActivityId() string
- func (o *LiveActivityStartResponse) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityStartResponse) GetDevicesNotified() int32
- func (o *LiveActivityStartResponse) GetDevicesNotifiedOk() (*int32, bool)
- func (o *LiveActivityStartResponse) GetEffectiveChannelSlugs() []string
- func (o *LiveActivityStartResponse) GetEffectiveChannelSlugsOk() ([]string, bool)
- func (o *LiveActivityStartResponse) GetSuccess() bool
- func (o *LiveActivityStartResponse) GetSuccessOk() (*bool, bool)
- func (o *LiveActivityStartResponse) GetTimestamp() time.Time
- func (o *LiveActivityStartResponse) GetTimestampOk() (*time.Time, bool)
- func (o *LiveActivityStartResponse) GetUsersNotified() int32
- func (o *LiveActivityStartResponse) GetUsersNotifiedOk() (*int32, bool)
- func (o *LiveActivityStartResponse) HasDevicesNotified() bool
- func (o *LiveActivityStartResponse) HasEffectiveChannelSlugs() bool
- func (o *LiveActivityStartResponse) HasUsersNotified() bool
- func (o LiveActivityStartResponse) MarshalJSON() ([]byte, error)
- func (o *LiveActivityStartResponse) SetActivityId(v string)
- func (o *LiveActivityStartResponse) SetDevicesNotified(v int32)
- func (o *LiveActivityStartResponse) SetEffectiveChannelSlugs(v []string)
- func (o *LiveActivityStartResponse) SetSuccess(v bool)
- func (o *LiveActivityStartResponse) SetTimestamp(v time.Time)
- func (o *LiveActivityStartResponse) SetUsersNotified(v int32)
- func (o LiveActivityStartResponse) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityStartResponse) UnmarshalJSON(data []byte) (err error)
- type LiveActivityStreamDeleteRequest
- func (o *LiveActivityStreamDeleteRequest) GetAction() LiveActivityAction
- func (o *LiveActivityStreamDeleteRequest) GetActionOk() (*LiveActivityAction, bool)
- func (o *LiveActivityStreamDeleteRequest) GetAlert() AlertPayload
- func (o *LiveActivityStreamDeleteRequest) GetAlertOk() (*AlertPayload, bool)
- func (o *LiveActivityStreamDeleteRequest) GetContentState() StreamContentState
- func (o *LiveActivityStreamDeleteRequest) GetContentStateOk() (*StreamContentState, bool)
- func (o *LiveActivityStreamDeleteRequest) HasAction() bool
- func (o *LiveActivityStreamDeleteRequest) HasAlert() bool
- func (o *LiveActivityStreamDeleteRequest) HasContentState() bool
- func (o LiveActivityStreamDeleteRequest) MarshalJSON() ([]byte, error)
- func (o *LiveActivityStreamDeleteRequest) SetAction(v LiveActivityAction)
- func (o *LiveActivityStreamDeleteRequest) SetAlert(v AlertPayload)
- func (o *LiveActivityStreamDeleteRequest) SetContentState(v StreamContentState)
- func (o LiveActivityStreamDeleteRequest) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityStreamDeleteRequest) UnmarshalJSON(data []byte) (err error)
- type LiveActivityStreamDeleteResponse
- func (o *LiveActivityStreamDeleteResponse) GetActivityId() string
- func (o *LiveActivityStreamDeleteResponse) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityStreamDeleteResponse) GetDevicesNotified() int32
- func (o *LiveActivityStreamDeleteResponse) GetDevicesNotifiedOk() (*int32, bool)
- func (o *LiveActivityStreamDeleteResponse) GetDevicesQueued() int32
- func (o *LiveActivityStreamDeleteResponse) GetDevicesQueuedOk() (*int32, bool)
- func (o *LiveActivityStreamDeleteResponse) GetOperation() string
- func (o *LiveActivityStreamDeleteResponse) GetOperationOk() (*string, bool)
- func (o *LiveActivityStreamDeleteResponse) GetStreamKey() string
- func (o *LiveActivityStreamDeleteResponse) GetStreamKeyOk() (*string, bool)
- func (o *LiveActivityStreamDeleteResponse) GetSuccess() bool
- func (o *LiveActivityStreamDeleteResponse) GetSuccessOk() (*bool, bool)
- func (o *LiveActivityStreamDeleteResponse) GetTimestamp() time.Time
- func (o *LiveActivityStreamDeleteResponse) GetTimestampOk() (*time.Time, bool)
- func (o *LiveActivityStreamDeleteResponse) HasActivityId() bool
- func (o *LiveActivityStreamDeleteResponse) HasDevicesNotified() bool
- func (o *LiveActivityStreamDeleteResponse) HasDevicesQueued() bool
- func (o LiveActivityStreamDeleteResponse) MarshalJSON() ([]byte, error)
- func (o *LiveActivityStreamDeleteResponse) SetActivityId(v string)
- func (o *LiveActivityStreamDeleteResponse) SetActivityIdNil()
- func (o *LiveActivityStreamDeleteResponse) SetDevicesNotified(v int32)
- func (o *LiveActivityStreamDeleteResponse) SetDevicesQueued(v int32)
- func (o *LiveActivityStreamDeleteResponse) SetOperation(v string)
- func (o *LiveActivityStreamDeleteResponse) SetStreamKey(v string)
- func (o *LiveActivityStreamDeleteResponse) SetSuccess(v bool)
- func (o *LiveActivityStreamDeleteResponse) SetTimestamp(v time.Time)
- func (o LiveActivityStreamDeleteResponse) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityStreamDeleteResponse) UnmarshalJSON(data []byte) (err error)
- func (o *LiveActivityStreamDeleteResponse) UnsetActivityId()
- type LiveActivityStreamPutResponse
- func (o *LiveActivityStreamPutResponse) GetActivityId() string
- func (o *LiveActivityStreamPutResponse) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityStreamPutResponse) GetDevicesNotified() int32
- func (o *LiveActivityStreamPutResponse) GetDevicesNotifiedOk() (*int32, bool)
- func (o *LiveActivityStreamPutResponse) GetDevicesQueued() int32
- func (o *LiveActivityStreamPutResponse) GetDevicesQueuedOk() (*int32, bool)
- func (o *LiveActivityStreamPutResponse) GetEffectiveChannelSlugs() []string
- func (o *LiveActivityStreamPutResponse) GetEffectiveChannelSlugsOk() ([]string, bool)
- func (o *LiveActivityStreamPutResponse) GetOperation() string
- func (o *LiveActivityStreamPutResponse) GetOperationOk() (*string, bool)
- func (o *LiveActivityStreamPutResponse) GetPreviousActivityId() string
- func (o *LiveActivityStreamPutResponse) GetPreviousActivityIdOk() (*string, bool)
- func (o *LiveActivityStreamPutResponse) GetStreamKey() string
- func (o *LiveActivityStreamPutResponse) GetStreamKeyOk() (*string, bool)
- func (o *LiveActivityStreamPutResponse) GetSuccess() bool
- func (o *LiveActivityStreamPutResponse) GetSuccessOk() (*bool, bool)
- func (o *LiveActivityStreamPutResponse) GetTimestamp() time.Time
- func (o *LiveActivityStreamPutResponse) GetTimestampOk() (*time.Time, bool)
- func (o *LiveActivityStreamPutResponse) GetUsersNotified() int32
- func (o *LiveActivityStreamPutResponse) GetUsersNotifiedOk() (*int32, bool)
- func (o *LiveActivityStreamPutResponse) HasActivityId() bool
- func (o *LiveActivityStreamPutResponse) HasDevicesNotified() bool
- func (o *LiveActivityStreamPutResponse) HasDevicesQueued() bool
- func (o *LiveActivityStreamPutResponse) HasEffectiveChannelSlugs() bool
- func (o *LiveActivityStreamPutResponse) HasPreviousActivityId() bool
- func (o *LiveActivityStreamPutResponse) HasUsersNotified() bool
- func (o LiveActivityStreamPutResponse) MarshalJSON() ([]byte, error)
- func (o *LiveActivityStreamPutResponse) SetActivityId(v string)
- func (o *LiveActivityStreamPutResponse) SetActivityIdNil()
- func (o *LiveActivityStreamPutResponse) SetDevicesNotified(v int32)
- func (o *LiveActivityStreamPutResponse) SetDevicesQueued(v int32)
- func (o *LiveActivityStreamPutResponse) SetEffectiveChannelSlugs(v []string)
- func (o *LiveActivityStreamPutResponse) SetOperation(v string)
- func (o *LiveActivityStreamPutResponse) SetPreviousActivityId(v string)
- func (o *LiveActivityStreamPutResponse) SetStreamKey(v string)
- func (o *LiveActivityStreamPutResponse) SetSuccess(v bool)
- func (o *LiveActivityStreamPutResponse) SetTimestamp(v time.Time)
- func (o *LiveActivityStreamPutResponse) SetUsersNotified(v int32)
- func (o LiveActivityStreamPutResponse) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityStreamPutResponse) UnmarshalJSON(data []byte) (err error)
- func (o *LiveActivityStreamPutResponse) UnsetActivityId()
- type LiveActivityStreamRequest
- func (o *LiveActivityStreamRequest) GetAction() LiveActivityAction
- func (o *LiveActivityStreamRequest) GetActionOk() (*LiveActivityAction, bool)
- func (o *LiveActivityStreamRequest) GetAlert() AlertPayload
- func (o *LiveActivityStreamRequest) GetAlertOk() (*AlertPayload, bool)
- func (o *LiveActivityStreamRequest) GetChannels() []string
- func (o *LiveActivityStreamRequest) GetChannelsOk() ([]string, bool)
- func (o *LiveActivityStreamRequest) GetContentState() StreamContentState
- func (o *LiveActivityStreamRequest) GetContentStateOk() (*StreamContentState, bool)
- func (o *LiveActivityStreamRequest) GetTarget() ChannelTarget
- func (o *LiveActivityStreamRequest) GetTargetOk() (*ChannelTarget, bool)
- func (o *LiveActivityStreamRequest) HasAction() bool
- func (o *LiveActivityStreamRequest) HasAlert() bool
- func (o *LiveActivityStreamRequest) HasChannels() bool
- func (o *LiveActivityStreamRequest) HasTarget() bool
- func (o LiveActivityStreamRequest) MarshalJSON() ([]byte, error)
- func (o *LiveActivityStreamRequest) SetAction(v LiveActivityAction)
- func (o *LiveActivityStreamRequest) SetAlert(v AlertPayload)
- func (o *LiveActivityStreamRequest) SetChannels(v []string)
- func (o *LiveActivityStreamRequest) SetContentState(v StreamContentState)
- func (o *LiveActivityStreamRequest) SetTarget(v ChannelTarget)
- func (o LiveActivityStreamRequest) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityStreamRequest) UnmarshalJSON(data []byte) (err error)
- type LiveActivityUpdateRequest
- func (o *LiveActivityUpdateRequest) GetAction() LiveActivityAction
- func (o *LiveActivityUpdateRequest) GetActionOk() (*LiveActivityAction, bool)
- func (o *LiveActivityUpdateRequest) GetActivityId() string
- func (o *LiveActivityUpdateRequest) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityUpdateRequest) GetContentState() ContentStateUpdate
- func (o *LiveActivityUpdateRequest) GetContentStateOk() (*ContentStateUpdate, bool)
- func (o *LiveActivityUpdateRequest) HasAction() bool
- func (o LiveActivityUpdateRequest) MarshalJSON() ([]byte, error)
- func (o *LiveActivityUpdateRequest) SetAction(v LiveActivityAction)
- func (o *LiveActivityUpdateRequest) SetActivityId(v string)
- func (o *LiveActivityUpdateRequest) SetContentState(v ContentStateUpdate)
- func (o LiveActivityUpdateRequest) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityUpdateRequest) UnmarshalJSON(data []byte) (err error)
- type LiveActivityUpdateResponse
- func (o *LiveActivityUpdateResponse) GetActivityId() string
- func (o *LiveActivityUpdateResponse) GetActivityIdOk() (*string, bool)
- func (o *LiveActivityUpdateResponse) GetDevicesNotified() int32
- func (o *LiveActivityUpdateResponse) GetDevicesNotifiedOk() (*int32, bool)
- func (o *LiveActivityUpdateResponse) GetDevicesQueued() int32
- func (o *LiveActivityUpdateResponse) GetDevicesQueuedOk() (*int32, bool)
- func (o *LiveActivityUpdateResponse) GetSuccess() bool
- func (o *LiveActivityUpdateResponse) GetSuccessOk() (*bool, bool)
- func (o *LiveActivityUpdateResponse) GetTimestamp() time.Time
- func (o *LiveActivityUpdateResponse) GetTimestampOk() (*time.Time, bool)
- func (o *LiveActivityUpdateResponse) HasDevicesNotified() bool
- func (o *LiveActivityUpdateResponse) HasDevicesQueued() bool
- func (o LiveActivityUpdateResponse) MarshalJSON() ([]byte, error)
- func (o *LiveActivityUpdateResponse) SetActivityId(v string)
- func (o *LiveActivityUpdateResponse) SetDevicesNotified(v int32)
- func (o *LiveActivityUpdateResponse) SetDevicesQueued(v int32)
- func (o *LiveActivityUpdateResponse) SetSuccess(v bool)
- func (o *LiveActivityUpdateResponse) SetTimestamp(v time.Time)
- func (o LiveActivityUpdateResponse) ToMap() (map[string]interface{}, error)
- func (o *LiveActivityUpdateResponse) UnmarshalJSON(data []byte) (err error)
- type LiveActivityWebhookMethod
- type MappedNullable
- type NoRecipientsError
- func (o *NoRecipientsError) GetEffectiveChannelSlugs() []string
- func (o *NoRecipientsError) GetEffectiveChannelSlugsOk() ([]string, bool)
- func (o *NoRecipientsError) GetError() string
- func (o *NoRecipientsError) GetErrorOk() (*string, bool)
- func (o *NoRecipientsError) GetMessage() string
- func (o *NoRecipientsError) GetMessageOk() (*string, bool)
- func (o *NoRecipientsError) HasEffectiveChannelSlugs() bool
- func (o NoRecipientsError) MarshalJSON() ([]byte, error)
- func (o *NoRecipientsError) SetEffectiveChannelSlugs(v []string)
- func (o *NoRecipientsError) SetError(v string)
- func (o *NoRecipientsError) SetMessage(v string)
- func (o NoRecipientsError) ToMap() (map[string]interface{}, error)
- func (o *NoRecipientsError) UnmarshalJSON(data []byte) (err error)
- type NotFoundError
- func (o *NotFoundError) GetError() string
- func (o *NotFoundError) GetErrorOk() (*string, bool)
- func (o *NotFoundError) GetMessage() string
- func (o *NotFoundError) GetMessageOk() (*string, bool)
- func (o NotFoundError) MarshalJSON() ([]byte, error)
- func (o *NotFoundError) SetError(v string)
- func (o *NotFoundError) SetMessage(v string)
- func (o NotFoundError) ToMap() (map[string]interface{}, error)
- func (o *NotFoundError) UnmarshalJSON(data []byte) (err error)
- type NullableActivityMetric
- func (v NullableActivityMetric) Get() *ActivityMetric
- func (v NullableActivityMetric) IsSet() bool
- func (v NullableActivityMetric) MarshalJSON() ([]byte, error)
- func (v *NullableActivityMetric) Set(val *ActivityMetric)
- func (v *NullableActivityMetric) UnmarshalJSON(src []byte) error
- func (v *NullableActivityMetric) Unset()
- type NullableAlertPayload
- func (v NullableAlertPayload) Get() *AlertPayload
- func (v NullableAlertPayload) IsSet() bool
- func (v NullableAlertPayload) MarshalJSON() ([]byte, error)
- func (v *NullableAlertPayload) Set(val *AlertPayload)
- func (v *NullableAlertPayload) UnmarshalJSON(src []byte) error
- func (v *NullableAlertPayload) Unset()
- type NullableBadRequestError
- func (v NullableBadRequestError) Get() *BadRequestError
- func (v NullableBadRequestError) IsSet() bool
- func (v NullableBadRequestError) MarshalJSON() ([]byte, error)
- func (v *NullableBadRequestError) Set(val *BadRequestError)
- func (v *NullableBadRequestError) UnmarshalJSON(src []byte) error
- func (v *NullableBadRequestError) Unset()
- type NullableBool
- type NullableChannelTarget
- func (v NullableChannelTarget) Get() *ChannelTarget
- func (v NullableChannelTarget) IsSet() bool
- func (v NullableChannelTarget) MarshalJSON() ([]byte, error)
- func (v *NullableChannelTarget) Set(val *ChannelTarget)
- func (v *NullableChannelTarget) UnmarshalJSON(src []byte) error
- func (v *NullableChannelTarget) Unset()
- type NullableContentStateEnd
- func (v NullableContentStateEnd) Get() *ContentStateEnd
- func (v NullableContentStateEnd) IsSet() bool
- func (v NullableContentStateEnd) MarshalJSON() ([]byte, error)
- func (v *NullableContentStateEnd) Set(val *ContentStateEnd)
- func (v *NullableContentStateEnd) UnmarshalJSON(src []byte) error
- func (v *NullableContentStateEnd) Unset()
- type NullableContentStateStart
- func (v NullableContentStateStart) Get() *ContentStateStart
- func (v NullableContentStateStart) IsSet() bool
- func (v NullableContentStateStart) MarshalJSON() ([]byte, error)
- func (v *NullableContentStateStart) Set(val *ContentStateStart)
- func (v *NullableContentStateStart) UnmarshalJSON(src []byte) error
- func (v *NullableContentStateStart) Unset()
- type NullableContentStateUpdate
- func (v NullableContentStateUpdate) Get() *ContentStateUpdate
- func (v NullableContentStateUpdate) IsSet() bool
- func (v NullableContentStateUpdate) MarshalJSON() ([]byte, error)
- func (v *NullableContentStateUpdate) Set(val *ContentStateUpdate)
- func (v *NullableContentStateUpdate) UnmarshalJSON(src []byte) error
- func (v *NullableContentStateUpdate) Unset()
- type NullableFloat32
- type NullableFloat64
- type NullableForbiddenError
- func (v NullableForbiddenError) Get() *ForbiddenError
- func (v NullableForbiddenError) IsSet() bool
- func (v NullableForbiddenError) MarshalJSON() ([]byte, error)
- func (v *NullableForbiddenError) Set(val *ForbiddenError)
- func (v *NullableForbiddenError) UnmarshalJSON(src []byte) error
- func (v *NullableForbiddenError) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLiveActivityAction
- func (v NullableLiveActivityAction) Get() *LiveActivityAction
- func (v NullableLiveActivityAction) IsSet() bool
- func (v NullableLiveActivityAction) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityAction) Set(val *LiveActivityAction)
- func (v *NullableLiveActivityAction) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityAction) Unset()
- type NullableLiveActivityActionType
- func (v NullableLiveActivityActionType) Get() *LiveActivityActionType
- func (v NullableLiveActivityActionType) IsSet() bool
- func (v NullableLiveActivityActionType) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityActionType) Set(val *LiveActivityActionType)
- func (v *NullableLiveActivityActionType) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityActionType) Unset()
- type NullableLiveActivityEndRequest
- func (v NullableLiveActivityEndRequest) Get() *LiveActivityEndRequest
- func (v NullableLiveActivityEndRequest) IsSet() bool
- func (v NullableLiveActivityEndRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityEndRequest) Set(val *LiveActivityEndRequest)
- func (v *NullableLiveActivityEndRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityEndRequest) Unset()
- type NullableLiveActivityEndResponse
- func (v NullableLiveActivityEndResponse) Get() *LiveActivityEndResponse
- func (v NullableLiveActivityEndResponse) IsSet() bool
- func (v NullableLiveActivityEndResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityEndResponse) Set(val *LiveActivityEndResponse)
- func (v *NullableLiveActivityEndResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityEndResponse) Unset()
- type NullableLiveActivityLimitError
- func (v NullableLiveActivityLimitError) Get() *LiveActivityLimitError
- func (v NullableLiveActivityLimitError) IsSet() bool
- func (v NullableLiveActivityLimitError) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityLimitError) Set(val *LiveActivityLimitError)
- func (v *NullableLiveActivityLimitError) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityLimitError) Unset()
- type NullableLiveActivityStartRequest
- func (v NullableLiveActivityStartRequest) Get() *LiveActivityStartRequest
- func (v NullableLiveActivityStartRequest) IsSet() bool
- func (v NullableLiveActivityStartRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityStartRequest) Set(val *LiveActivityStartRequest)
- func (v *NullableLiveActivityStartRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityStartRequest) Unset()
- type NullableLiveActivityStartResponse
- func (v NullableLiveActivityStartResponse) Get() *LiveActivityStartResponse
- func (v NullableLiveActivityStartResponse) IsSet() bool
- func (v NullableLiveActivityStartResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityStartResponse) Set(val *LiveActivityStartResponse)
- func (v *NullableLiveActivityStartResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityStartResponse) Unset()
- type NullableLiveActivityStreamDeleteRequest
- func (v NullableLiveActivityStreamDeleteRequest) Get() *LiveActivityStreamDeleteRequest
- func (v NullableLiveActivityStreamDeleteRequest) IsSet() bool
- func (v NullableLiveActivityStreamDeleteRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityStreamDeleteRequest) Set(val *LiveActivityStreamDeleteRequest)
- func (v *NullableLiveActivityStreamDeleteRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityStreamDeleteRequest) Unset()
- type NullableLiveActivityStreamDeleteResponse
- func (v NullableLiveActivityStreamDeleteResponse) Get() *LiveActivityStreamDeleteResponse
- func (v NullableLiveActivityStreamDeleteResponse) IsSet() bool
- func (v NullableLiveActivityStreamDeleteResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityStreamDeleteResponse) Set(val *LiveActivityStreamDeleteResponse)
- func (v *NullableLiveActivityStreamDeleteResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityStreamDeleteResponse) Unset()
- type NullableLiveActivityStreamPutResponse
- func (v NullableLiveActivityStreamPutResponse) Get() *LiveActivityStreamPutResponse
- func (v NullableLiveActivityStreamPutResponse) IsSet() bool
- func (v NullableLiveActivityStreamPutResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityStreamPutResponse) Set(val *LiveActivityStreamPutResponse)
- func (v *NullableLiveActivityStreamPutResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityStreamPutResponse) Unset()
- type NullableLiveActivityStreamRequest
- func (v NullableLiveActivityStreamRequest) Get() *LiveActivityStreamRequest
- func (v NullableLiveActivityStreamRequest) IsSet() bool
- func (v NullableLiveActivityStreamRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityStreamRequest) Set(val *LiveActivityStreamRequest)
- func (v *NullableLiveActivityStreamRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityStreamRequest) Unset()
- type NullableLiveActivityUpdateRequest
- func (v NullableLiveActivityUpdateRequest) Get() *LiveActivityUpdateRequest
- func (v NullableLiveActivityUpdateRequest) IsSet() bool
- func (v NullableLiveActivityUpdateRequest) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityUpdateRequest) Set(val *LiveActivityUpdateRequest)
- func (v *NullableLiveActivityUpdateRequest) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityUpdateRequest) Unset()
- type NullableLiveActivityUpdateResponse
- func (v NullableLiveActivityUpdateResponse) Get() *LiveActivityUpdateResponse
- func (v NullableLiveActivityUpdateResponse) IsSet() bool
- func (v NullableLiveActivityUpdateResponse) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityUpdateResponse) Set(val *LiveActivityUpdateResponse)
- func (v *NullableLiveActivityUpdateResponse) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityUpdateResponse) Unset()
- type NullableLiveActivityWebhookMethod
- func (v NullableLiveActivityWebhookMethod) Get() *LiveActivityWebhookMethod
- func (v NullableLiveActivityWebhookMethod) IsSet() bool
- func (v NullableLiveActivityWebhookMethod) MarshalJSON() ([]byte, error)
- func (v *NullableLiveActivityWebhookMethod) Set(val *LiveActivityWebhookMethod)
- func (v *NullableLiveActivityWebhookMethod) UnmarshalJSON(src []byte) error
- func (v *NullableLiveActivityWebhookMethod) Unset()
- type NullableNoRecipientsError
- func (v NullableNoRecipientsError) Get() *NoRecipientsError
- func (v NullableNoRecipientsError) IsSet() bool
- func (v NullableNoRecipientsError) MarshalJSON() ([]byte, error)
- func (v *NullableNoRecipientsError) Set(val *NoRecipientsError)
- func (v *NullableNoRecipientsError) UnmarshalJSON(src []byte) error
- func (v *NullableNoRecipientsError) Unset()
- type NullableNotFoundError
- func (v NullableNotFoundError) Get() *NotFoundError
- func (v NullableNotFoundError) IsSet() bool
- func (v NullableNotFoundError) MarshalJSON() ([]byte, error)
- func (v *NullableNotFoundError) Set(val *NotFoundError)
- func (v *NullableNotFoundError) UnmarshalJSON(src []byte) error
- func (v *NullableNotFoundError) Unset()
- type NullablePushNotificationAction
- func (v NullablePushNotificationAction) Get() *PushNotificationAction
- func (v NullablePushNotificationAction) IsSet() bool
- func (v NullablePushNotificationAction) MarshalJSON() ([]byte, error)
- func (v *NullablePushNotificationAction) Set(val *PushNotificationAction)
- func (v *NullablePushNotificationAction) UnmarshalJSON(src []byte) error
- func (v *NullablePushNotificationAction) Unset()
- type NullablePushNotificationActionType
- func (v NullablePushNotificationActionType) Get() *PushNotificationActionType
- func (v NullablePushNotificationActionType) IsSet() bool
- func (v NullablePushNotificationActionType) MarshalJSON() ([]byte, error)
- func (v *NullablePushNotificationActionType) Set(val *PushNotificationActionType)
- func (v *NullablePushNotificationActionType) UnmarshalJSON(src []byte) error
- func (v *NullablePushNotificationActionType) Unset()
- type NullablePushNotificationRequest
- func (v NullablePushNotificationRequest) Get() *PushNotificationRequest
- func (v NullablePushNotificationRequest) IsSet() bool
- func (v NullablePushNotificationRequest) MarshalJSON() ([]byte, error)
- func (v *NullablePushNotificationRequest) Set(val *PushNotificationRequest)
- func (v *NullablePushNotificationRequest) UnmarshalJSON(src []byte) error
- func (v *NullablePushNotificationRequest) Unset()
- type NullablePushNotificationResponse
- func (v NullablePushNotificationResponse) Get() *PushNotificationResponse
- func (v NullablePushNotificationResponse) IsSet() bool
- func (v NullablePushNotificationResponse) MarshalJSON() ([]byte, error)
- func (v *NullablePushNotificationResponse) Set(val *PushNotificationResponse)
- func (v *NullablePushNotificationResponse) UnmarshalJSON(src []byte) error
- func (v *NullablePushNotificationResponse) Unset()
- type NullablePushNotificationWebhookMethod
- func (v NullablePushNotificationWebhookMethod) Get() *PushNotificationWebhookMethod
- func (v NullablePushNotificationWebhookMethod) IsSet() bool
- func (v NullablePushNotificationWebhookMethod) MarshalJSON() ([]byte, error)
- func (v *NullablePushNotificationWebhookMethod) Set(val *PushNotificationWebhookMethod)
- func (v *NullablePushNotificationWebhookMethod) UnmarshalJSON(src []byte) error
- func (v *NullablePushNotificationWebhookMethod) Unset()
- type NullableRateLimitError
- func (v NullableRateLimitError) Get() *RateLimitError
- func (v NullableRateLimitError) IsSet() bool
- func (v NullableRateLimitError) MarshalJSON() ([]byte, error)
- func (v *NullableRateLimitError) Set(val *RateLimitError)
- func (v *NullableRateLimitError) UnmarshalJSON(src []byte) error
- func (v *NullableRateLimitError) Unset()
- type NullableSendPushNotification429Response
- func (v NullableSendPushNotification429Response) Get() *SendPushNotification429Response
- func (v NullableSendPushNotification429Response) IsSet() bool
- func (v NullableSendPushNotification429Response) MarshalJSON() ([]byte, error)
- func (v *NullableSendPushNotification429Response) Set(val *SendPushNotification429Response)
- func (v *NullableSendPushNotification429Response) UnmarshalJSON(src []byte) error
- func (v *NullableSendPushNotification429Response) Unset()
- type NullableStreamContentState
- func (v NullableStreamContentState) Get() *StreamContentState
- func (v NullableStreamContentState) IsSet() bool
- func (v NullableStreamContentState) MarshalJSON() ([]byte, error)
- func (v *NullableStreamContentState) Set(val *StreamContentState)
- func (v *NullableStreamContentState) UnmarshalJSON(src []byte) error
- func (v *NullableStreamContentState) Unset()
- type NullableString
- type NullableTime
- type PushNotificationAction
- func (o *PushNotificationAction) GetBody() map[string]interface{}
- func (o *PushNotificationAction) GetBodyOk() (map[string]interface{}, bool)
- func (o *PushNotificationAction) GetMethod() PushNotificationWebhookMethod
- func (o *PushNotificationAction) GetMethodOk() (*PushNotificationWebhookMethod, bool)
- func (o *PushNotificationAction) GetTitle() string
- func (o *PushNotificationAction) GetTitleOk() (*string, bool)
- func (o *PushNotificationAction) GetType() PushNotificationActionType
- func (o *PushNotificationAction) GetTypeOk() (*PushNotificationActionType, bool)
- func (o *PushNotificationAction) GetUrl() string
- func (o *PushNotificationAction) GetUrlOk() (*string, bool)
- func (o *PushNotificationAction) HasBody() bool
- func (o *PushNotificationAction) HasMethod() bool
- func (o PushNotificationAction) MarshalJSON() ([]byte, error)
- func (o *PushNotificationAction) SetBody(v map[string]interface{})
- func (o *PushNotificationAction) SetMethod(v PushNotificationWebhookMethod)
- func (o *PushNotificationAction) SetTitle(v string)
- func (o *PushNotificationAction) SetType(v PushNotificationActionType)
- func (o *PushNotificationAction) SetUrl(v string)
- func (o PushNotificationAction) ToMap() (map[string]interface{}, error)
- func (o *PushNotificationAction) UnmarshalJSON(data []byte) (err error)
- type PushNotificationActionType
- type PushNotificationRequest
- func (o *PushNotificationRequest) GetActions() []PushNotificationAction
- func (o *PushNotificationRequest) GetActionsOk() ([]PushNotificationAction, bool)
- func (o *PushNotificationRequest) GetBadge() int32
- func (o *PushNotificationRequest) GetBadgeOk() (*int32, bool)
- func (o *PushNotificationRequest) GetMedia() string
- func (o *PushNotificationRequest) GetMediaOk() (*string, bool)
- func (o *PushNotificationRequest) GetMessage() string
- func (o *PushNotificationRequest) GetMessageOk() (*string, bool)
- func (o *PushNotificationRequest) GetPayload() map[string]interface{}
- func (o *PushNotificationRequest) GetPayloadOk() (map[string]interface{}, bool)
- func (o *PushNotificationRequest) GetRedirection() string
- func (o *PushNotificationRequest) GetRedirectionOk() (*string, bool)
- func (o *PushNotificationRequest) GetSound() string
- func (o *PushNotificationRequest) GetSoundOk() (*string, bool)
- func (o *PushNotificationRequest) GetSubtitle() string
- func (o *PushNotificationRequest) GetSubtitleOk() (*string, bool)
- func (o *PushNotificationRequest) GetTarget() ChannelTarget
- func (o *PushNotificationRequest) GetTargetOk() (*ChannelTarget, bool)
- func (o *PushNotificationRequest) GetTitle() string
- func (o *PushNotificationRequest) GetTitleOk() (*string, bool)
- func (o *PushNotificationRequest) HasActions() bool
- func (o *PushNotificationRequest) HasBadge() bool
- func (o *PushNotificationRequest) HasMedia() bool
- func (o *PushNotificationRequest) HasMessage() bool
- func (o *PushNotificationRequest) HasPayload() bool
- func (o *PushNotificationRequest) HasRedirection() bool
- func (o *PushNotificationRequest) HasSound() bool
- func (o *PushNotificationRequest) HasSubtitle() bool
- func (o *PushNotificationRequest) HasTarget() bool
- func (o PushNotificationRequest) MarshalJSON() ([]byte, error)
- func (o *PushNotificationRequest) SetActions(v []PushNotificationAction)
- func (o *PushNotificationRequest) SetBadge(v int32)
- func (o *PushNotificationRequest) SetMedia(v string)
- func (o *PushNotificationRequest) SetMessage(v string)
- func (o *PushNotificationRequest) SetPayload(v map[string]interface{})
- func (o *PushNotificationRequest) SetRedirection(v string)
- func (o *PushNotificationRequest) SetSound(v string)
- func (o *PushNotificationRequest) SetSubtitle(v string)
- func (o *PushNotificationRequest) SetTarget(v ChannelTarget)
- func (o *PushNotificationRequest) SetTitle(v string)
- func (o PushNotificationRequest) ToMap() (map[string]interface{}, error)
- func (o *PushNotificationRequest) UnmarshalJSON(data []byte) (err error)
- type PushNotificationResponse
- func (o *PushNotificationResponse) GetDevicesNotified() int32
- func (o *PushNotificationResponse) GetDevicesNotifiedOk() (*int32, bool)
- func (o *PushNotificationResponse) GetEffectiveChannelSlugs() []string
- func (o *PushNotificationResponse) GetEffectiveChannelSlugsOk() ([]string, bool)
- func (o *PushNotificationResponse) GetSuccess() bool
- func (o *PushNotificationResponse) GetSuccessOk() (*bool, bool)
- func (o *PushNotificationResponse) GetTimestamp() time.Time
- func (o *PushNotificationResponse) GetTimestampOk() (*time.Time, bool)
- func (o *PushNotificationResponse) GetUsersNotified() int32
- func (o *PushNotificationResponse) GetUsersNotifiedOk() (*int32, bool)
- func (o *PushNotificationResponse) HasDevicesNotified() bool
- func (o *PushNotificationResponse) HasEffectiveChannelSlugs() bool
- func (o *PushNotificationResponse) HasUsersNotified() bool
- func (o PushNotificationResponse) MarshalJSON() ([]byte, error)
- func (o *PushNotificationResponse) SetDevicesNotified(v int32)
- func (o *PushNotificationResponse) SetEffectiveChannelSlugs(v []string)
- func (o *PushNotificationResponse) SetSuccess(v bool)
- func (o *PushNotificationResponse) SetTimestamp(v time.Time)
- func (o *PushNotificationResponse) SetUsersNotified(v int32)
- func (o PushNotificationResponse) ToMap() (map[string]interface{}, error)
- func (o *PushNotificationResponse) UnmarshalJSON(data []byte) (err error)
- type PushNotificationWebhookMethod
- type PushNotificationsAPIService
- type RateLimitError
- func (o *RateLimitError) GetError() string
- func (o *RateLimitError) GetErrorOk() (*string, bool)
- func (o *RateLimitError) GetMessage() string
- func (o *RateLimitError) GetMessageOk() (*string, bool)
- func (o RateLimitError) MarshalJSON() ([]byte, error)
- func (o *RateLimitError) SetError(v string)
- func (o *RateLimitError) SetMessage(v string)
- func (o RateLimitError) ToMap() (map[string]interface{}, error)
- func (o *RateLimitError) UnmarshalJSON(data []byte) (err error)
- type SendPushNotification429Response
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type StreamContentState
- func (o *StreamContentState) GetAutoDismissMinutes() int32
- func (o *StreamContentState) GetAutoDismissMinutesOk() (*int32, bool)
- func (o *StreamContentState) GetAutoDismissSeconds() int32
- func (o *StreamContentState) GetAutoDismissSecondsOk() (*int32, bool)
- func (o *StreamContentState) GetColor() string
- func (o *StreamContentState) GetColorOk() (*string, bool)
- func (o *StreamContentState) GetCurrentStep() int32
- func (o *StreamContentState) GetCurrentStepOk() (*int32, bool)
- func (o *StreamContentState) GetMetrics() []ActivityMetric
- func (o *StreamContentState) GetMetricsOk() ([]ActivityMetric, bool)
- func (o *StreamContentState) GetNumberOfSteps() int32
- func (o *StreamContentState) GetNumberOfStepsOk() (*int32, bool)
- func (o *StreamContentState) GetPercentage() float32
- func (o *StreamContentState) GetPercentageOk() (*float32, bool)
- func (o *StreamContentState) GetStepColor() string
- func (o *StreamContentState) GetStepColorOk() (*string, bool)
- func (o *StreamContentState) GetStepColors() []string
- func (o *StreamContentState) GetStepColorsOk() ([]string, bool)
- func (o *StreamContentState) GetSubtitle() string
- func (o *StreamContentState) GetSubtitleOk() (*string, bool)
- func (o *StreamContentState) GetTitle() string
- func (o *StreamContentState) GetTitleOk() (*string, bool)
- func (o *StreamContentState) GetType() string
- func (o *StreamContentState) GetTypeOk() (*string, bool)
- func (o *StreamContentState) GetUpperLimit() float32
- func (o *StreamContentState) GetUpperLimitOk() (*float32, bool)
- func (o *StreamContentState) GetValue() float32
- func (o *StreamContentState) GetValueOk() (*float32, bool)
- func (o *StreamContentState) HasAutoDismissMinutes() bool
- func (o *StreamContentState) HasAutoDismissSeconds() bool
- func (o *StreamContentState) HasColor() bool
- func (o *StreamContentState) HasCurrentStep() bool
- func (o *StreamContentState) HasMetrics() bool
- func (o *StreamContentState) HasNumberOfSteps() bool
- func (o *StreamContentState) HasPercentage() bool
- func (o *StreamContentState) HasStepColor() bool
- func (o *StreamContentState) HasStepColors() bool
- func (o *StreamContentState) HasSubtitle() bool
- func (o *StreamContentState) HasType() bool
- func (o *StreamContentState) HasUpperLimit() bool
- func (o *StreamContentState) HasValue() bool
- func (o StreamContentState) MarshalJSON() ([]byte, error)
- func (o *StreamContentState) SetAutoDismissMinutes(v int32)
- func (o *StreamContentState) SetAutoDismissSeconds(v int32)
- func (o *StreamContentState) SetColor(v string)
- func (o *StreamContentState) SetCurrentStep(v int32)
- func (o *StreamContentState) SetMetrics(v []ActivityMetric)
- func (o *StreamContentState) SetNumberOfSteps(v int32)
- func (o *StreamContentState) SetPercentage(v float32)
- func (o *StreamContentState) SetStepColor(v string)
- func (o *StreamContentState) SetStepColors(v []string)
- func (o *StreamContentState) SetSubtitle(v string)
- func (o *StreamContentState) SetTitle(v string)
- func (o *StreamContentState) SetType(v string)
- func (o *StreamContentState) SetUpperLimit(v float32)
- func (o *StreamContentState) SetValue(v float32)
- func (o StreamContentState) ToMap() (map[string]interface{}, error)
- func (o *StreamContentState) UnmarshalJSON(data []byte) (err error)
Constants ¶
This section is empty.
Variables ¶
var ( JsonCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?json)`) XmlCheck = regexp.MustCompile(`(?i:(?:application|text)/(?:[^;]+\+)?xml)`) )
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") )
var AllowedLiveActivityActionTypeEnumValues = []LiveActivityActionType{
"open_url",
"webhook",
}
All allowed values of LiveActivityActionType enum
var AllowedLiveActivityWebhookMethodEnumValues = []LiveActivityWebhookMethod{
"GET",
"POST",
}
All allowed values of LiveActivityWebhookMethod enum
var AllowedPushNotificationActionTypeEnumValues = []PushNotificationActionType{
"open_url",
"webhook",
}
All allowed values of PushNotificationActionType enum
var AllowedPushNotificationWebhookMethodEnumValues = []PushNotificationWebhookMethod{
"GET",
"POST",
}
All allowed values of PushNotificationWebhookMethod enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float 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 ¶
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 (r ApiEndLiveActivityRequest) Execute() (*LiveActivityEndResponse, *http.Response, error)
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 (r ApiEndLiveActivityStreamRequest) Execute() (*LiveActivityStreamDeleteResponse, *http.Response, error)
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 (r ApiReconcileLiveActivityStreamRequest) Execute() (*LiveActivityStreamPutResponse, *http.Response, error)
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 (r ApiSendPushNotificationRequest) Execute() (*PushNotificationResponse, *http.Response, error)
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 (r ApiStartLiveActivityRequest) Execute() (*LiveActivityStartResponse, *http.Response, error)
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 (r ApiUpdateLiveActivityRequest) Execute() (*LiveActivityUpdateResponse, *http.Response, error)
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) ServerURLWithContext ¶
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 ¶
func (a *LiveActivitiesAPIService) EndLiveActivity(ctx context.Context) ApiEndLiveActivityRequest
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 ¶
func (a *LiveActivitiesAPIService) EndLiveActivityExecute(r ApiEndLiveActivityRequest) (*LiveActivityEndResponse, *http.Response, error)
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
func (a *LiveActivitiesAPIService) EndLiveActivityStreamExecute(r ApiEndLiveActivityStreamRequest) (*LiveActivityStreamDeleteResponse, *http.Response, error)
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
func (a *LiveActivitiesAPIService) ReconcileLiveActivityStreamExecute(r ApiReconcileLiveActivityStreamRequest) (*LiveActivityStreamPutResponse, *http.Response, error)
Execute executes the request
@return LiveActivityStreamPutResponse
func (*LiveActivitiesAPIService) StartLiveActivity ¶
func (a *LiveActivitiesAPIService) StartLiveActivity(ctx context.Context) ApiStartLiveActivityRequest
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 ¶
func (a *LiveActivitiesAPIService) StartLiveActivityExecute(r ApiStartLiveActivityRequest) (*LiveActivityStartResponse, *http.Response, error)
Execute executes the request
@return LiveActivityStartResponse
func (*LiveActivitiesAPIService) UpdateLiveActivity ¶
func (a *LiveActivitiesAPIService) UpdateLiveActivity(ctx context.Context) ApiUpdateLiveActivityRequest
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 ¶
func (a *LiveActivitiesAPIService) UpdateLiveActivityExecute(r ApiUpdateLiveActivityRequest) (*LiveActivityUpdateResponse, *http.Response, error)
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
func (o *LiveActivityAction) GetMethod() LiveActivityWebhookMethod
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
func (o *LiveActivityAction) GetType() LiveActivityActionType
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
func (o *LiveActivityAction) SetMethod(v LiveActivityWebhookMethod)
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
func (o *LiveActivityAction) SetType(v LiveActivityActionType)
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
func (v LiveActivityActionType) Ptr() *LiveActivityActionType
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
func (o *LiveActivityEndRequest) GetAction() LiveActivityAction
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
func (o *LiveActivityEndRequest) SetAction(v LiveActivityAction)
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
func (o *LiveActivityStartRequest) GetAction() LiveActivityAction
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
func (o *LiveActivityStartRequest) SetAction(v LiveActivityAction)
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
func (o *LiveActivityStreamDeleteRequest) GetAction() LiveActivityAction
GetAction returns the Action field value if set, zero value otherwise.
func (*LiveActivityStreamDeleteRequest) GetActionOk ¶ added in v1.1.0
func (o *LiveActivityStreamDeleteRequest) 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 (*LiveActivityStreamDeleteRequest) GetAlert ¶ added in v1.1.0
func (o *LiveActivityStreamDeleteRequest) GetAlert() AlertPayload
GetAlert returns the Alert field value if set, zero value otherwise.
func (*LiveActivityStreamDeleteRequest) GetAlertOk ¶ added in v1.1.0
func (o *LiveActivityStreamDeleteRequest) 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 (*LiveActivityStreamDeleteRequest) GetContentState ¶ added in v1.1.0
func (o *LiveActivityStreamDeleteRequest) GetContentState() StreamContentState
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
func (o *LiveActivityStreamDeleteRequest) SetAction(v LiveActivityAction)
SetAction gets a reference to the given LiveActivityAction and assigns it to the Action field.
func (*LiveActivityStreamDeleteRequest) SetAlert ¶ added in v1.1.0
func (o *LiveActivityStreamDeleteRequest) SetAlert(v AlertPayload)
SetAlert gets a reference to the given AlertPayload and assigns it to the Alert field.
func (*LiveActivityStreamDeleteRequest) SetContentState ¶ added in v1.1.0
func (o *LiveActivityStreamDeleteRequest) SetContentState(v StreamContentState)
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
func (o *LiveActivityStreamRequest) GetAction() LiveActivityAction
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
func (o *LiveActivityStreamRequest) GetAlert() AlertPayload
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
func (o *LiveActivityStreamRequest) GetTarget() ChannelTarget
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
func (o *LiveActivityStreamRequest) SetAction(v LiveActivityAction)
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
func (o *LiveActivityUpdateRequest) GetAction() LiveActivityAction
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
func (o *LiveActivityUpdateRequest) SetAction(v LiveActivityAction)
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
func (v LiveActivityWebhookMethod) Ptr() *LiveActivityWebhookMethod
Ptr returns reference to LiveActivityWebhookMethod value
func (*LiveActivityWebhookMethod) UnmarshalJSON ¶ added in v1.0.0
func (v *LiveActivityWebhookMethod) UnmarshalJSON(src []byte) error
type MappedNullable ¶
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 (v NullableActivityMetric) Get() *ActivityMetric
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 (v *NullableActivityMetric) Set(val *ActivityMetric)
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 (v NullableAlertPayload) Get() *AlertPayload
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 (v NullableBadRequestError) Get() *BadRequestError
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 (v *NullableBadRequestError) Set(val *BadRequestError)
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 (v NullableChannelTarget) Get() *ChannelTarget
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 (v NullableContentStateEnd) Get() *ContentStateEnd
func (NullableContentStateEnd) IsSet ¶
func (v NullableContentStateEnd) IsSet() bool
func (NullableContentStateEnd) MarshalJSON ¶
func (v NullableContentStateEnd) MarshalJSON() ([]byte, error)
func (*NullableContentStateEnd) Set ¶
func (v *NullableContentStateEnd) Set(val *ContentStateEnd)
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 (v NullableContentStateStart) Get() *ContentStateStart
func (NullableContentStateStart) IsSet ¶
func (v NullableContentStateStart) IsSet() bool
func (NullableContentStateStart) MarshalJSON ¶
func (v NullableContentStateStart) MarshalJSON() ([]byte, error)
func (*NullableContentStateStart) Set ¶
func (v *NullableContentStateStart) Set(val *ContentStateStart)
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 (v NullableContentStateUpdate) Get() *ContentStateUpdate
func (NullableContentStateUpdate) IsSet ¶
func (v NullableContentStateUpdate) IsSet() bool
func (NullableContentStateUpdate) MarshalJSON ¶
func (v NullableContentStateUpdate) MarshalJSON() ([]byte, error)
func (*NullableContentStateUpdate) Set ¶
func (v *NullableContentStateUpdate) Set(val *ContentStateUpdate)
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 (v NullableForbiddenError) Get() *ForbiddenError
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 (v *NullableForbiddenError) Set(val *ForbiddenError)
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 (v NullableLiveActivityAction) Get() *LiveActivityAction
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 (v *NullableLiveActivityAction) Set(val *LiveActivityAction)
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 (v NullableLiveActivityActionType) Get() *LiveActivityActionType
func (NullableLiveActivityActionType) IsSet ¶ added in v1.0.0
func (v NullableLiveActivityActionType) IsSet() bool
func (NullableLiveActivityActionType) MarshalJSON ¶ added in v1.0.0
func (v NullableLiveActivityActionType) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityActionType) Set ¶ added in v1.0.0
func (v *NullableLiveActivityActionType) Set(val *LiveActivityActionType)
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 NewNullableLiveActivityEndRequest ¶
func NewNullableLiveActivityEndRequest(val *LiveActivityEndRequest) *NullableLiveActivityEndRequest
func (NullableLiveActivityEndRequest) Get ¶
func (v NullableLiveActivityEndRequest) Get() *LiveActivityEndRequest
func (NullableLiveActivityEndRequest) IsSet ¶
func (v NullableLiveActivityEndRequest) IsSet() bool
func (NullableLiveActivityEndRequest) MarshalJSON ¶
func (v NullableLiveActivityEndRequest) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityEndRequest) Set ¶
func (v *NullableLiveActivityEndRequest) Set(val *LiveActivityEndRequest)
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 NewNullableLiveActivityEndResponse ¶
func NewNullableLiveActivityEndResponse(val *LiveActivityEndResponse) *NullableLiveActivityEndResponse
func (NullableLiveActivityEndResponse) Get ¶
func (v NullableLiveActivityEndResponse) Get() *LiveActivityEndResponse
func (NullableLiveActivityEndResponse) IsSet ¶
func (v NullableLiveActivityEndResponse) IsSet() bool
func (NullableLiveActivityEndResponse) MarshalJSON ¶
func (v NullableLiveActivityEndResponse) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityEndResponse) Set ¶
func (v *NullableLiveActivityEndResponse) Set(val *LiveActivityEndResponse)
func (*NullableLiveActivityEndResponse) UnmarshalJSON ¶
func (v *NullableLiveActivityEndResponse) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityEndResponse) Unset ¶
func (v *NullableLiveActivityEndResponse) Unset()
type NullableLiveActivityLimitError ¶
type NullableLiveActivityLimitError struct {
// contains filtered or unexported fields
}
func NewNullableLiveActivityLimitError ¶
func NewNullableLiveActivityLimitError(val *LiveActivityLimitError) *NullableLiveActivityLimitError
func (NullableLiveActivityLimitError) Get ¶
func (v NullableLiveActivityLimitError) Get() *LiveActivityLimitError
func (NullableLiveActivityLimitError) IsSet ¶
func (v NullableLiveActivityLimitError) IsSet() bool
func (NullableLiveActivityLimitError) MarshalJSON ¶
func (v NullableLiveActivityLimitError) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityLimitError) Set ¶
func (v *NullableLiveActivityLimitError) Set(val *LiveActivityLimitError)
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 NewNullableLiveActivityStartRequest ¶
func NewNullableLiveActivityStartRequest(val *LiveActivityStartRequest) *NullableLiveActivityStartRequest
func (NullableLiveActivityStartRequest) Get ¶
func (v NullableLiveActivityStartRequest) Get() *LiveActivityStartRequest
func (NullableLiveActivityStartRequest) IsSet ¶
func (v NullableLiveActivityStartRequest) IsSet() bool
func (NullableLiveActivityStartRequest) MarshalJSON ¶
func (v NullableLiveActivityStartRequest) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityStartRequest) Set ¶
func (v *NullableLiveActivityStartRequest) Set(val *LiveActivityStartRequest)
func (*NullableLiveActivityStartRequest) UnmarshalJSON ¶
func (v *NullableLiveActivityStartRequest) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityStartRequest) Unset ¶
func (v *NullableLiveActivityStartRequest) Unset()
type NullableLiveActivityStartResponse ¶
type NullableLiveActivityStartResponse struct {
// contains filtered or unexported fields
}
func NewNullableLiveActivityStartResponse ¶
func NewNullableLiveActivityStartResponse(val *LiveActivityStartResponse) *NullableLiveActivityStartResponse
func (NullableLiveActivityStartResponse) Get ¶
func (v NullableLiveActivityStartResponse) Get() *LiveActivityStartResponse
func (NullableLiveActivityStartResponse) IsSet ¶
func (v NullableLiveActivityStartResponse) IsSet() bool
func (NullableLiveActivityStartResponse) MarshalJSON ¶
func (v NullableLiveActivityStartResponse) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityStartResponse) Set ¶
func (v *NullableLiveActivityStartResponse) Set(val *LiveActivityStartResponse)
func (*NullableLiveActivityStartResponse) UnmarshalJSON ¶
func (v *NullableLiveActivityStartResponse) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityStartResponse) Unset ¶
func (v *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) IsSet ¶ added in v1.1.0
func (v NullableLiveActivityStreamDeleteRequest) IsSet() bool
func (NullableLiveActivityStreamDeleteRequest) MarshalJSON ¶ added in v1.1.0
func (v NullableLiveActivityStreamDeleteRequest) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityStreamDeleteRequest) Set ¶ added in v1.1.0
func (v *NullableLiveActivityStreamDeleteRequest) Set(val *LiveActivityStreamDeleteRequest)
func (*NullableLiveActivityStreamDeleteRequest) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableLiveActivityStreamDeleteRequest) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityStreamDeleteRequest) Unset ¶ added in v1.1.0
func (v *NullableLiveActivityStreamDeleteRequest) Unset()
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) IsSet ¶ added in v1.1.0
func (v NullableLiveActivityStreamDeleteResponse) IsSet() bool
func (NullableLiveActivityStreamDeleteResponse) MarshalJSON ¶ added in v1.1.0
func (v NullableLiveActivityStreamDeleteResponse) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityStreamDeleteResponse) Set ¶ added in v1.1.0
func (v *NullableLiveActivityStreamDeleteResponse) Set(val *LiveActivityStreamDeleteResponse)
func (*NullableLiveActivityStreamDeleteResponse) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableLiveActivityStreamDeleteResponse) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityStreamDeleteResponse) Unset ¶ added in v1.1.0
func (v *NullableLiveActivityStreamDeleteResponse) Unset()
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 (v NullableLiveActivityStreamPutResponse) Get() *LiveActivityStreamPutResponse
func (NullableLiveActivityStreamPutResponse) IsSet ¶ added in v1.1.0
func (v NullableLiveActivityStreamPutResponse) IsSet() bool
func (NullableLiveActivityStreamPutResponse) MarshalJSON ¶ added in v1.1.0
func (v NullableLiveActivityStreamPutResponse) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityStreamPutResponse) Set ¶ added in v1.1.0
func (v *NullableLiveActivityStreamPutResponse) Set(val *LiveActivityStreamPutResponse)
func (*NullableLiveActivityStreamPutResponse) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableLiveActivityStreamPutResponse) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityStreamPutResponse) Unset ¶ added in v1.1.0
func (v *NullableLiveActivityStreamPutResponse) Unset()
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 (v NullableLiveActivityStreamRequest) Get() *LiveActivityStreamRequest
func (NullableLiveActivityStreamRequest) IsSet ¶ added in v1.1.0
func (v NullableLiveActivityStreamRequest) IsSet() bool
func (NullableLiveActivityStreamRequest) MarshalJSON ¶ added in v1.1.0
func (v NullableLiveActivityStreamRequest) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityStreamRequest) Set ¶ added in v1.1.0
func (v *NullableLiveActivityStreamRequest) Set(val *LiveActivityStreamRequest)
func (*NullableLiveActivityStreamRequest) UnmarshalJSON ¶ added in v1.1.0
func (v *NullableLiveActivityStreamRequest) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityStreamRequest) Unset ¶ added in v1.1.0
func (v *NullableLiveActivityStreamRequest) Unset()
type NullableLiveActivityUpdateRequest ¶
type NullableLiveActivityUpdateRequest struct {
// contains filtered or unexported fields
}
func NewNullableLiveActivityUpdateRequest ¶
func NewNullableLiveActivityUpdateRequest(val *LiveActivityUpdateRequest) *NullableLiveActivityUpdateRequest
func (NullableLiveActivityUpdateRequest) Get ¶
func (v NullableLiveActivityUpdateRequest) Get() *LiveActivityUpdateRequest
func (NullableLiveActivityUpdateRequest) IsSet ¶
func (v NullableLiveActivityUpdateRequest) IsSet() bool
func (NullableLiveActivityUpdateRequest) MarshalJSON ¶
func (v NullableLiveActivityUpdateRequest) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityUpdateRequest) Set ¶
func (v *NullableLiveActivityUpdateRequest) Set(val *LiveActivityUpdateRequest)
func (*NullableLiveActivityUpdateRequest) UnmarshalJSON ¶
func (v *NullableLiveActivityUpdateRequest) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityUpdateRequest) Unset ¶
func (v *NullableLiveActivityUpdateRequest) Unset()
type NullableLiveActivityUpdateResponse ¶
type NullableLiveActivityUpdateResponse struct {
// contains filtered or unexported fields
}
func NewNullableLiveActivityUpdateResponse ¶
func NewNullableLiveActivityUpdateResponse(val *LiveActivityUpdateResponse) *NullableLiveActivityUpdateResponse
func (NullableLiveActivityUpdateResponse) Get ¶
func (v NullableLiveActivityUpdateResponse) Get() *LiveActivityUpdateResponse
func (NullableLiveActivityUpdateResponse) IsSet ¶
func (v NullableLiveActivityUpdateResponse) IsSet() bool
func (NullableLiveActivityUpdateResponse) MarshalJSON ¶
func (v NullableLiveActivityUpdateResponse) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityUpdateResponse) Set ¶
func (v *NullableLiveActivityUpdateResponse) Set(val *LiveActivityUpdateResponse)
func (*NullableLiveActivityUpdateResponse) UnmarshalJSON ¶
func (v *NullableLiveActivityUpdateResponse) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityUpdateResponse) Unset ¶
func (v *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 (v NullableLiveActivityWebhookMethod) Get() *LiveActivityWebhookMethod
func (NullableLiveActivityWebhookMethod) IsSet ¶ added in v1.0.0
func (v NullableLiveActivityWebhookMethod) IsSet() bool
func (NullableLiveActivityWebhookMethod) MarshalJSON ¶ added in v1.0.0
func (v NullableLiveActivityWebhookMethod) MarshalJSON() ([]byte, error)
func (*NullableLiveActivityWebhookMethod) Set ¶ added in v1.0.0
func (v *NullableLiveActivityWebhookMethod) Set(val *LiveActivityWebhookMethod)
func (*NullableLiveActivityWebhookMethod) UnmarshalJSON ¶ added in v1.0.0
func (v *NullableLiveActivityWebhookMethod) UnmarshalJSON(src []byte) error
func (*NullableLiveActivityWebhookMethod) Unset ¶ added in v1.0.0
func (v *NullableLiveActivityWebhookMethod) Unset()
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 (v NullableNoRecipientsError) Get() *NoRecipientsError
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 (v *NullableNoRecipientsError) Set(val *NoRecipientsError)
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 (v NullableNotFoundError) Get() *NotFoundError
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 (v NullablePushNotificationAction) Get() *PushNotificationAction
func (NullablePushNotificationAction) IsSet ¶ added in v0.1.4
func (v NullablePushNotificationAction) IsSet() bool
func (NullablePushNotificationAction) MarshalJSON ¶ added in v0.1.4
func (v NullablePushNotificationAction) MarshalJSON() ([]byte, error)
func (*NullablePushNotificationAction) Set ¶ added in v0.1.4
func (v *NullablePushNotificationAction) Set(val *PushNotificationAction)
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 (v NullablePushNotificationActionType) Get() *PushNotificationActionType
func (NullablePushNotificationActionType) IsSet ¶ added in v0.1.4
func (v NullablePushNotificationActionType) IsSet() bool
func (NullablePushNotificationActionType) MarshalJSON ¶ added in v0.1.4
func (v NullablePushNotificationActionType) MarshalJSON() ([]byte, error)
func (*NullablePushNotificationActionType) Set ¶ added in v0.1.4
func (v *NullablePushNotificationActionType) Set(val *PushNotificationActionType)
func (*NullablePushNotificationActionType) UnmarshalJSON ¶ added in v0.1.4
func (v *NullablePushNotificationActionType) UnmarshalJSON(src []byte) error
func (*NullablePushNotificationActionType) Unset ¶ added in v0.1.4
func (v *NullablePushNotificationActionType) Unset()
type NullablePushNotificationRequest ¶
type NullablePushNotificationRequest struct {
// contains filtered or unexported fields
}
func NewNullablePushNotificationRequest ¶
func NewNullablePushNotificationRequest(val *PushNotificationRequest) *NullablePushNotificationRequest
func (NullablePushNotificationRequest) Get ¶
func (v NullablePushNotificationRequest) Get() *PushNotificationRequest
func (NullablePushNotificationRequest) IsSet ¶
func (v NullablePushNotificationRequest) IsSet() bool
func (NullablePushNotificationRequest) MarshalJSON ¶
func (v NullablePushNotificationRequest) MarshalJSON() ([]byte, error)
func (*NullablePushNotificationRequest) Set ¶
func (v *NullablePushNotificationRequest) Set(val *PushNotificationRequest)
func (*NullablePushNotificationRequest) UnmarshalJSON ¶
func (v *NullablePushNotificationRequest) UnmarshalJSON(src []byte) error
func (*NullablePushNotificationRequest) Unset ¶
func (v *NullablePushNotificationRequest) Unset()
type NullablePushNotificationResponse ¶
type NullablePushNotificationResponse struct {
// contains filtered or unexported fields
}
func NewNullablePushNotificationResponse ¶
func NewNullablePushNotificationResponse(val *PushNotificationResponse) *NullablePushNotificationResponse
func (NullablePushNotificationResponse) Get ¶
func (v NullablePushNotificationResponse) Get() *PushNotificationResponse
func (NullablePushNotificationResponse) IsSet ¶
func (v NullablePushNotificationResponse) IsSet() bool
func (NullablePushNotificationResponse) MarshalJSON ¶
func (v NullablePushNotificationResponse) MarshalJSON() ([]byte, error)
func (*NullablePushNotificationResponse) Set ¶
func (v *NullablePushNotificationResponse) Set(val *PushNotificationResponse)
func (*NullablePushNotificationResponse) UnmarshalJSON ¶
func (v *NullablePushNotificationResponse) UnmarshalJSON(src []byte) error
func (*NullablePushNotificationResponse) Unset ¶
func (v *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 (v NullablePushNotificationWebhookMethod) Get() *PushNotificationWebhookMethod
func (NullablePushNotificationWebhookMethod) IsSet ¶ added in v0.1.4
func (v NullablePushNotificationWebhookMethod) IsSet() bool
func (NullablePushNotificationWebhookMethod) MarshalJSON ¶ added in v0.1.4
func (v NullablePushNotificationWebhookMethod) MarshalJSON() ([]byte, error)
func (*NullablePushNotificationWebhookMethod) Set ¶ added in v0.1.4
func (v *NullablePushNotificationWebhookMethod) Set(val *PushNotificationWebhookMethod)
func (*NullablePushNotificationWebhookMethod) UnmarshalJSON ¶ added in v0.1.4
func (v *NullablePushNotificationWebhookMethod) UnmarshalJSON(src []byte) error
func (*NullablePushNotificationWebhookMethod) Unset ¶ added in v0.1.4
func (v *NullablePushNotificationWebhookMethod) Unset()
type NullableRateLimitError ¶
type NullableRateLimitError struct {
// contains filtered or unexported fields
}
func NewNullableRateLimitError ¶
func NewNullableRateLimitError(val *RateLimitError) *NullableRateLimitError
func (NullableRateLimitError) Get ¶
func (v NullableRateLimitError) Get() *RateLimitError
func (NullableRateLimitError) IsSet ¶
func (v NullableRateLimitError) IsSet() bool
func (NullableRateLimitError) MarshalJSON ¶
func (v NullableRateLimitError) MarshalJSON() ([]byte, error)
func (*NullableRateLimitError) Set ¶
func (v *NullableRateLimitError) Set(val *RateLimitError)
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 NewNullableSendPushNotification429Response ¶
func NewNullableSendPushNotification429Response(val *SendPushNotification429Response) *NullableSendPushNotification429Response
func (NullableSendPushNotification429Response) IsSet ¶
func (v NullableSendPushNotification429Response) IsSet() bool
func (NullableSendPushNotification429Response) MarshalJSON ¶
func (v NullableSendPushNotification429Response) MarshalJSON() ([]byte, error)
func (*NullableSendPushNotification429Response) Set ¶
func (v *NullableSendPushNotification429Response) Set(val *SendPushNotification429Response)
func (*NullableSendPushNotification429Response) UnmarshalJSON ¶
func (v *NullableSendPushNotification429Response) UnmarshalJSON(src []byte) error
func (*NullableSendPushNotification429Response) Unset ¶
func (v *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 (v NullableStreamContentState) Get() *StreamContentState
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 (v *NullableStreamContentState) Set(val *StreamContentState)
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
func (o *PushNotificationAction) GetMethod() PushNotificationWebhookMethod
GetMethod returns the Method field value if set, zero value otherwise.
func (*PushNotificationAction) GetMethodOk ¶ added in v0.1.4
func (o *PushNotificationAction) GetMethodOk() (*PushNotificationWebhookMethod, 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 (*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
func (o *PushNotificationAction) GetType() PushNotificationActionType
GetType returns the Type field value
func (*PushNotificationAction) GetTypeOk ¶ added in v0.1.4
func (o *PushNotificationAction) GetTypeOk() (*PushNotificationActionType, bool)
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
func (o *PushNotificationAction) SetMethod(v PushNotificationWebhookMethod)
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
func (o *PushNotificationAction) SetType(v PushNotificationActionType)
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
func (v PushNotificationActionType) Ptr() *PushNotificationActionType
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
func (o *PushNotificationRequest) GetActions() []PushNotificationAction
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
func (o *PushNotificationRequest) SetActions(v []PushNotificationAction)
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
func (v PushNotificationWebhookMethod) Ptr() *PushNotificationWebhookMethod
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 ¶
func (a *PushNotificationsAPIService) SendPushNotification(ctx context.Context) ApiSendPushNotificationRequest
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 ¶
func (a *PushNotificationsAPIService) SendPushNotificationExecute(r ApiSendPushNotificationRequest) (*PushNotificationResponse, *http.Response, error)
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
type ServerVariable ¶
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)
Source Files
¶
- api_live_activities.go
- api_push_notifications.go
- client.go
- configuration.go
- model_activity_metric.go
- model_alert_payload.go
- model_bad_request_error.go
- model_channel_target.go
- model_content_state_end.go
- model_content_state_start.go
- model_content_state_update.go
- model_forbidden_error.go
- model_live_activity_action.go
- model_live_activity_action_type.go
- model_live_activity_end_request.go
- model_live_activity_end_response.go
- model_live_activity_limit_error.go
- model_live_activity_start_request.go
- model_live_activity_start_response.go
- model_live_activity_stream_delete_request.go
- model_live_activity_stream_delete_response.go
- model_live_activity_stream_put_response.go
- model_live_activity_stream_request.go
- model_live_activity_update_request.go
- model_live_activity_update_response.go
- model_live_activity_webhook_method.go
- model_no_recipients_error.go
- model_not_found_error.go
- model_push_notification_action.go
- model_push_notification_action_type.go
- model_push_notification_request.go
- model_push_notification_response.go
- model_push_notification_webhook_method.go
- model_rate_limit_error.go
- model_send_push_notification_429_response.go
- model_stream_content_state.go
- response.go
- utils.go