| Name | Type | Description | Notes |
|---|---|---|---|
| Key | string | ||
| Partition | int32 | ||
| Offset | int64 | ||
| Message | map[string]interface{} |
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
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
func (o *Message) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
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.
func (o *Message) SetKey(v string)
SetKey sets Key field to given value.
func (o *Message) GetPartition() int32
GetPartition returns the Partition field if non-nil, zero value otherwise.
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.
func (o *Message) SetPartition(v int32)
SetPartition sets Partition field to given value.
func (o *Message) GetOffset() int64
GetOffset returns the Offset field if non-nil, zero value otherwise.
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.
func (o *Message) SetOffset(v int64)
SetOffset sets Offset field to given value.
func (o *Message) GetMessage() map[string]interface{}
GetMessage returns the Message field if non-nil, zero value otherwise.
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.
func (o *Message) SetMessage(v map[string]interface{})
SetMessage sets Message field to given value.