models

package
v0.0.0-...-c4b140d Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContactSourceDeleted

type ContactSourceDeleted struct {

	// contact source Id
	ContactSourceID string `json:"contactSourceId,omitempty"`

	// remove contacts from unified
	RemoveContactsFromUnified bool `json:"removeContactsFromUnified,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

ContactSourceDeleted ContactSourceDeleted

swagger:model ContactSourceDeleted

func (*ContactSourceDeleted) ContextValidate

func (m *ContactSourceDeleted) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this contact source deleted based on context it is used

func (*ContactSourceDeleted) MarshalBinary

func (m *ContactSourceDeleted) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ContactSourceDeleted) UnmarshalBinary

func (m *ContactSourceDeleted) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ContactSourceDeleted) Validate

func (m *ContactSourceDeleted) Validate(formats strfmt.Registry) error

Validate validates this contact source deleted

type JobError

type JobError struct {

	// description
	Description string `json:"description,omitempty"`

	// error
	Error string `json:"error,omitempty"`
}

JobError JobError

swagger:model JobError

func (*JobError) ContextValidate

func (m *JobError) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this job error based on context it is used

func (*JobError) MarshalBinary

func (m *JobError) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobError) UnmarshalBinary

func (m *JobError) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobError) Validate

func (m *JobError) Validate(formats strfmt.Registry) error

Validate validates this job error

type JobSuccess

type JobSuccess struct {

	// message
	Message string `json:"message,omitempty"`
}

JobSuccess message

swagger:model JobSuccess

func (*JobSuccess) ContextValidate

func (m *JobSuccess) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this job success based on context it is used

func (*JobSuccess) MarshalBinary

func (m *JobSuccess) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*JobSuccess) UnmarshalBinary

func (m *JobSuccess) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*JobSuccess) Validate

func (m *JobSuccess) Validate(formats strfmt.Registry) error

Validate validates this job success

type Message

type Message struct {

	// attributes
	Attributes interface{} `json:"attributes,omitempty"`

	// data
	// Format: byte
	Data strfmt.Base64 `json:"data,omitempty"`

	// delivery attempt
	DeliveryAttempt int64 `json:"deliveryAttempt,omitempty"`

	// message Id
	// Required: true
	MessageID *string `json:"messageId"`

	// ordering key
	OrderingKey string `json:"orderingKey,omitempty"`

	// publish time
	// Format: date-time
	PublishTime strfmt.DateTime `json:"publishTime,omitempty"`
}

Message Message

swagger:model Message

func (*Message) ContextValidate

func (m *Message) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this message based on context it is used

func (*Message) MarshalBinary

func (m *Message) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Message) UnmarshalBinary

func (m *Message) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Message) Validate

func (m *Message) Validate(formats strfmt.Registry) error

Validate validates this message

type PubsubMessage

type PubsubMessage struct {

	// message
	Message *Message `json:"message,omitempty"`

	// subscription
	Subscription string `json:"subscription,omitempty"`
}

PubsubMessage PubsubMessage

swagger:model PubsubMessage

func (*PubsubMessage) ContextValidate

func (m *PubsubMessage) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validate this pubsub message based on the context it is used

func (*PubsubMessage) MarshalBinary

func (m *PubsubMessage) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PubsubMessage) UnmarshalBinary

func (m *PubsubMessage) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PubsubMessage) Validate

func (m *PubsubMessage) Validate(formats strfmt.Registry) error

Validate validates this pubsub message

type PullContactsRequest

type PullContactsRequest struct {

	// contact source Id
	ContactSourceID string `json:"contactSourceId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

PullContactsRequest PullContactsRequest

swagger:model PullContactsRequest

func (*PullContactsRequest) ContextValidate

func (m *PullContactsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this pull contacts request based on context it is used

func (*PullContactsRequest) MarshalBinary

func (m *PullContactsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PullContactsRequest) UnmarshalBinary

func (m *PullContactsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PullContactsRequest) Validate

func (m *PullContactsRequest) Validate(formats strfmt.Registry) error

Validate validates this pull contacts request

type SyncContactsRequest

type SyncContactsRequest struct {

	// contact source Id
	ContactSourceID string `json:"contactSourceId,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

SyncContactsRequest SyncContactsRequest

swagger:model SyncContactsRequest

func (*SyncContactsRequest) ContextValidate

func (m *SyncContactsRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error

ContextValidate validates this sync contacts request based on context it is used

func (*SyncContactsRequest) MarshalBinary

func (m *SyncContactsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SyncContactsRequest) UnmarshalBinary

func (m *SyncContactsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SyncContactsRequest) Validate

func (m *SyncContactsRequest) Validate(formats strfmt.Registry) error

Validate validates this sync contacts request

Jump to

Keyboard shortcuts

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