--- id: v2024-sp-config-message1 title: SpConfigMessage1 pagination_label: SpConfigMessage1 sidebar_label: SpConfigMessage1 sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'SpConfigMessage1', 'V2024SpConfigMessage1'] slug: /tools/sdk/go/v2024/models/sp-config-message1 tags: ['SDK', 'Software Development Kit', 'SpConfigMessage1', 'V2024SpConfigMessage1'] --- # SpConfigMessage1 ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Key** | **string** | Message key. | **Text** | **string** | Message text. | **Details** | **map[string]map[string]interface{}** | Message details if any, in key:value pairs. | ## Methods ### NewSpConfigMessage1 `func NewSpConfigMessage1(key string, text string, details map[string]map[string]interface{}, ) *SpConfigMessage1` NewSpConfigMessage1 instantiates a new SpConfigMessage1 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 ### NewSpConfigMessage1WithDefaults `func NewSpConfigMessage1WithDefaults() *SpConfigMessage1` NewSpConfigMessage1WithDefaults instantiates a new SpConfigMessage1 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 *SpConfigMessage1) GetKey() string` GetKey returns the Key field if non-nil, zero value otherwise. ### GetKeyOk `func (o *SpConfigMessage1) 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 *SpConfigMessage1) SetKey(v string)` SetKey sets Key field to given value. ### GetText `func (o *SpConfigMessage1) GetText() string` GetText returns the Text field if non-nil, zero value otherwise. ### GetTextOk `func (o *SpConfigMessage1) 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 *SpConfigMessage1) SetText(v string)` SetText sets Text field to given value. ### GetDetails `func (o *SpConfigMessage1) GetDetails() map[string]map[string]interface{}` GetDetails returns the Details field if non-nil, zero value otherwise. ### GetDetailsOk `func (o *SpConfigMessage1) 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 *SpConfigMessage1) SetDetails(v map[string]map[string]interface{})` SetDetails sets Details field to given value.