Skip to main content

SpConfigMessage2

Properties​

NameTypeDescriptionNotes
KeystringMessage key.
TextstringMessage text.
Detailsmap[string]map[string]interface{}Message details if any, in key:value pairs.

Methods​

NewSpConfigMessage2​

func NewSpConfigMessage2(key string, text string, details map[string]map[string]interface{}, ) *SpConfigMessage2

NewSpConfigMessage2 instantiates a new SpConfigMessage2 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

NewSpConfigMessage2WithDefaults​

func NewSpConfigMessage2WithDefaults() *SpConfigMessage2

NewSpConfigMessage2WithDefaults instantiates a new SpConfigMessage2 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 *SpConfigMessage2) GetKey() string

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

GetKeyOk​

func (o *SpConfigMessage2) 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 *SpConfigMessage2) SetKey(v string)

SetKey sets Key field to given value.

GetText​

func (o *SpConfigMessage2) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

GetTextOk​

func (o *SpConfigMessage2) GetTextOk() (*string, bool)

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

SetText​

func (o *SpConfigMessage2) SetText(v string)

SetText sets Text field to given value.

GetDetails​

func (o *SpConfigMessage2) GetDetails() map[string]map[string]interface{}

GetDetails returns the Details field if non-nil, zero value otherwise.

GetDetailsOk​

func (o *SpConfigMessage2) GetDetailsOk() (*map[string]map[string]interface{}, bool)

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

SetDetails​

func (o *SpConfigMessage2) SetDetails(v map[string]map[string]interface{})

SetDetails sets Details field to given value.