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 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 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) GetNumberOfSteps() int32
- func (o *ContentStateEnd) GetNumberOfStepsOk() (*int32, bool)
- func (o *ContentStateEnd) GetStepColor() string
- func (o *ContentStateEnd) GetStepColorOk() (*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) HasAutoDismissMinutes() bool
- func (o *ContentStateEnd) HasColor() bool
- func (o *ContentStateEnd) HasNumberOfSteps() bool
- func (o *ContentStateEnd) HasStepColor() bool
- func (o *ContentStateEnd) HasSubtitle() 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) SetNumberOfSteps(v int32)
- func (o *ContentStateEnd) SetStepColor(v string)
- func (o *ContentStateEnd) SetSubtitle(v string)
- func (o *ContentStateEnd) SetTitle(v string)
- 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) GetNumberOfSteps() int32
- func (o *ContentStateStart) GetNumberOfStepsOk() (*int32, bool)
- func (o *ContentStateStart) GetStepColor() string
- func (o *ContentStateStart) GetStepColorOk() (*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) HasColor() bool
- func (o *ContentStateStart) HasStepColor() bool
- func (o *ContentStateStart) HasSubtitle() bool
- func (o ContentStateStart) MarshalJSON() ([]byte, error)
- func (o *ContentStateStart) SetColor(v string)
- func (o *ContentStateStart) SetCurrentStep(v int32)
- func (o *ContentStateStart) SetNumberOfSteps(v int32)
- func (o *ContentStateStart) SetStepColor(v string)
- func (o *ContentStateStart) SetSubtitle(v string)
- func (o *ContentStateStart) SetTitle(v string)
- func (o *ContentStateStart) SetType(v string)
- 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) GetNumberOfSteps() int32
- func (o *ContentStateUpdate) GetNumberOfStepsOk() (*int32, bool)
- func (o *ContentStateUpdate) GetStepColor() string
- func (o *ContentStateUpdate) GetStepColorOk() (*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) HasColor() bool
- func (o *ContentStateUpdate) HasNumberOfSteps() bool
- func (o *ContentStateUpdate) HasStepColor() bool
- func (o *ContentStateUpdate) HasSubtitle() bool
- func (o ContentStateUpdate) MarshalJSON() ([]byte, error)
- func (o *ContentStateUpdate) SetColor(v string)
- func (o *ContentStateUpdate) SetCurrentStep(v int32)
- func (o *ContentStateUpdate) SetNumberOfSteps(v int32)
- func (o *ContentStateUpdate) SetStepColor(v string)
- func (o *ContentStateUpdate) SetSubtitle(v string)
- func (o *ContentStateUpdate) SetTitle(v string)
- 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) 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 LiveActivityEndRequest
- 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) MarshalJSON() ([]byte, error)
- 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) 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) HasAlert() bool
- func (o *LiveActivityStartRequest) HasTarget() bool
- func (o LiveActivityStartRequest) MarshalJSON() ([]byte, error)
- 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 LiveActivityUpdateRequest
- 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) MarshalJSON() ([]byte, error)
- 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 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 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 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 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 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 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 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) 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) 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) 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
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 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 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 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"`
NumberOfSteps *int32 `json:"number_of_steps,omitempty"`
CurrentStep int32 `json:"current_step"`
// Optional. Accent color for the Live Activity. Defaults to blue.
Color *string `json:"color,omitempty"`
// Optional. Overrides color for the current step.
StepColor *string `json:"step_color,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. Required fields are title and current_step. number_of_steps is optional.
func NewContentStateEnd ¶
func NewContentStateEnd(title string, currentStep int32) *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
func (*ContentStateEnd) GetCurrentStepOk ¶
func (o *ContentStateEnd) GetCurrentStepOk() (*int32, bool)
GetCurrentStepOk returns a tuple with the CurrentStep field value 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) 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) 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) 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) HasNumberOfSteps ¶
func (o *ContentStateEnd) HasNumberOfSteps() bool
HasNumberOfSteps 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) HasSubtitle ¶
func (o *ContentStateEnd) HasSubtitle() bool
HasSubtitle 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 sets field value
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) SetStepColor ¶
func (o *ContentStateEnd) SetStepColor(v string)
SetStepColor gets a reference to the given string and assigns it to the StepColor 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) 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"`
NumberOfSteps int32 `json:"number_of_steps"`
CurrentStep int32 `json:"current_step"`
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.
StepColor *string `json:"step_color,omitempty"`
AdditionalProperties map[string]interface{}
}
ContentStateStart Start payload requires title, number_of_steps, current_step, and type.
func NewContentStateStart ¶
func NewContentStateStart(title string, numberOfSteps int32, currentStep int32, 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
func (*ContentStateStart) GetCurrentStepOk ¶
func (o *ContentStateStart) GetCurrentStepOk() (*int32, bool)
GetCurrentStepOk returns a tuple with the CurrentStep field value 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
func (*ContentStateStart) GetNumberOfStepsOk ¶
func (o *ContentStateStart) GetNumberOfStepsOk() (*int32, bool)
GetNumberOfStepsOk returns a tuple with the NumberOfSteps field value 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) 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) HasColor ¶
func (o *ContentStateStart) HasColor() bool
HasColor 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) HasSubtitle ¶
func (o *ContentStateStart) HasSubtitle() bool
HasSubtitle 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 sets field value
func (*ContentStateStart) SetNumberOfSteps ¶
func (o *ContentStateStart) SetNumberOfSteps(v int32)
SetNumberOfSteps sets field value
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) 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) 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"`
NumberOfSteps *int32 `json:"number_of_steps,omitempty"`
CurrentStep int32 `json:"current_step"`
// Optional. Accent color for the Live Activity. Defaults to blue.
Color *string `json:"color,omitempty"`
// Optional. Overrides color for the current step.
StepColor *string `json:"step_color,omitempty"`
AdditionalProperties map[string]interface{}
}
ContentStateUpdate Update payload. Required fields are title and current_step. number_of_steps is optional.
func NewContentStateUpdate ¶
func NewContentStateUpdate(title string, currentStep int32) *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
func (*ContentStateUpdate) GetCurrentStepOk ¶
func (o *ContentStateUpdate) GetCurrentStepOk() (*int32, bool)
GetCurrentStepOk returns a tuple with the CurrentStep field value 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) 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) 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) HasColor ¶
func (o *ContentStateUpdate) HasColor() bool
HasColor 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) HasStepColor ¶
func (o *ContentStateUpdate) HasStepColor() bool
HasStepColor 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) 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 sets field value
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) SetStepColor ¶
func (o *ContentStateUpdate) SetStepColor(v string)
SetStepColor gets a reference to the given string and assigns it to the StepColor 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) 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.
@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) 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.
@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.
@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 LiveActivityEndRequest ¶
type LiveActivityEndRequest struct {
ActivityId string `json:"activity_id"`
ContentState ContentStateEnd `json:"content_state"`
AdditionalProperties map[string]interface{}
}
LiveActivityEndRequest struct for LiveActivityEndRequest
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) 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) MarshalJSON ¶
func (o LiveActivityEndRequest) MarshalJSON() ([]byte, error)
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 struct for LiveActivityEndResponse
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"`
Alert *AlertPayload `json:"alert,omitempty"`
Target *ChannelTarget `json:"target,omitempty"`
AdditionalProperties map[string]interface{}
}
LiveActivityStartRequest struct for LiveActivityStartRequest
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) 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) 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) 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 struct for LiveActivityStartResponse
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 LiveActivityUpdateRequest ¶
type LiveActivityUpdateRequest struct {
ActivityId string `json:"activity_id"`
ContentState ContentStateUpdate `json:"content_state"`
AdditionalProperties map[string]interface{}
}
LiveActivityUpdateRequest struct for LiveActivityUpdateRequest
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) 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) MarshalJSON ¶
func (o LiveActivityUpdateRequest) MarshalJSON() ([]byte, error)
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 struct for LiveActivityUpdateResponse
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 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 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 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 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 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 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 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 opened when user taps the notification body.
Redirection *string `json:"redirection,omitempty" validate:"regexp=^https:\\/\\/"`
// Optional interactive actions shown on iOS long-press.
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) 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) 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) 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 (tap) and up to 4 interactive actions (long-press on iOS).
@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
Source Files
¶
- api_live_activities.go
- api_push_notifications.go
- client.go
- configuration.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_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_update_request.go
- model_live_activity_update_response.go
- model_no_recipients_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
- response.go
- utils.go