github.com/optim-corp/cios-golang-sdk@v0.5.1/cios/docs/DataError.md (about) 1 # DataError 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **ErrorCode** | Pointer to **string** | | [optional] 8 **Id** | Pointer to **string** | | [optional] 9 **Message** | Pointer to **string** | | [optional] 10 11 ## Methods 12 13 ### NewDataError 14 15 `func NewDataError() *DataError` 16 17 NewDataError instantiates a new DataError object 18 This constructor will assign default values to properties that have it defined, 19 and makes sure properties required by API are set, but the set of arguments 20 will change when the set of required properties is changed 21 22 ### NewDataErrorWithDefaults 23 24 `func NewDataErrorWithDefaults() *DataError` 25 26 NewDataErrorWithDefaults instantiates a new DataError object 27 This constructor will only assign default values to properties that have it defined, 28 but it doesn't guarantee that properties required by API are set 29 30 ### GetErrorCode 31 32 `func (o *DataError) GetErrorCode() string` 33 34 GetErrorCode returns the ErrorCode field if non-nil, zero value otherwise. 35 36 ### GetErrorCodeOk 37 38 `func (o *DataError) GetErrorCodeOk() (*string, bool)` 39 40 GetErrorCodeOk returns a tuple with the ErrorCode field if it's non-nil, zero value otherwise 41 and a boolean to check if the value has been set. 42 43 ### SetErrorCode 44 45 `func (o *DataError) SetErrorCode(v string)` 46 47 SetErrorCode sets ErrorCode field to given value. 48 49 ### HasErrorCode 50 51 `func (o *DataError) HasErrorCode() bool` 52 53 HasErrorCode returns a boolean if a field has been set. 54 55 ### GetId 56 57 `func (o *DataError) GetId() string` 58 59 GetId returns the Id field if non-nil, zero value otherwise. 60 61 ### GetIdOk 62 63 `func (o *DataError) GetIdOk() (*string, bool)` 64 65 GetIdOk returns a tuple with the Id field if it's non-nil, zero value otherwise 66 and a boolean to check if the value has been set. 67 68 ### SetId 69 70 `func (o *DataError) SetId(v string)` 71 72 SetId sets Id field to given value. 73 74 ### HasId 75 76 `func (o *DataError) HasId() bool` 77 78 HasId returns a boolean if a field has been set. 79 80 ### GetMessage 81 82 `func (o *DataError) GetMessage() string` 83 84 GetMessage returns the Message field if non-nil, zero value otherwise. 85 86 ### GetMessageOk 87 88 `func (o *DataError) GetMessageOk() (*string, bool)` 89 90 GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise 91 and a boolean to check if the value has been set. 92 93 ### SetMessage 94 95 `func (o *DataError) SetMessage(v string)` 96 97 SetMessage sets Message field to given value. 98 99 ### HasMessage 100 101 `func (o *DataError) HasMessage() bool` 102 103 HasMessage returns a boolean if a field has been set. 104 105 106 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 107 108