Skip to content

Latest commit

 

History

History
114 lines (61 loc) · 2.82 KB

File metadata and controls

114 lines (61 loc) · 2.82 KB

Message

Properties

Name Type Description Notes
Key string
Partition int32
Offset int64
Message map[string]interface{}

Methods

NewMessage

func NewMessage(key string, partition int32, offset int64, message map[string]interface{}, ) *Message

NewMessage instantiates a new Message 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

NewMessageWithDefaults

func NewMessageWithDefaults() *Message

NewMessageWithDefaults instantiates a new Message 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

GetKey

func (o *Message) GetKey() string

GetKey returns the Key field if non-nil, zero value otherwise.

GetKeyOk

func (o *Message) GetKeyOk() (*string, bool)

GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetKey

func (o *Message) SetKey(v string)

SetKey sets Key field to given value.

GetPartition

func (o *Message) GetPartition() int32

GetPartition returns the Partition field if non-nil, zero value otherwise.

GetPartitionOk

func (o *Message) GetPartitionOk() (*int32, bool)

GetPartitionOk returns a tuple with the Partition field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPartition

func (o *Message) SetPartition(v int32)

SetPartition sets Partition field to given value.

GetOffset

func (o *Message) GetOffset() int64

GetOffset returns the Offset field if non-nil, zero value otherwise.

GetOffsetOk

func (o *Message) GetOffsetOk() (*int64, bool)

GetOffsetOk returns a tuple with the Offset field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetOffset

func (o *Message) SetOffset(v int64)

SetOffset sets Offset field to given value.

GetMessage

func (o *Message) GetMessage() map[string]interface{}

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

func (o *Message) GetMessageOk() (*map[string]interface{}, bool)

GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetMessage

func (o *Message) SetMessage(v map[string]interface{})

SetMessage sets Message field to given value.

[Back to Model list] [Back to API list] [Back to README]