bunnyshell.com/sdk@v0.16.0/docs/ProblemGeneric.md (about) 1 # ProblemGeneric 2 3 ## Properties 4 5 Name | Type | Description | Notes 6 ------------ | ------------- | ------------- | ------------- 7 **Title** | Pointer to **string** | | [optional] 8 **Detail** | Pointer to **string** | | [optional] 9 **Violations** | Pointer to [**[]ProblemViolation**](ProblemViolation.md) | | [optional] 10 11 ## Methods 12 13 ### NewProblemGeneric 14 15 `func NewProblemGeneric() *ProblemGeneric` 16 17 NewProblemGeneric instantiates a new ProblemGeneric 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 ### NewProblemGenericWithDefaults 23 24 `func NewProblemGenericWithDefaults() *ProblemGeneric` 25 26 NewProblemGenericWithDefaults instantiates a new ProblemGeneric 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 ### GetTitle 31 32 `func (o *ProblemGeneric) GetTitle() string` 33 34 GetTitle returns the Title field if non-nil, zero value otherwise. 35 36 ### GetTitleOk 37 38 `func (o *ProblemGeneric) GetTitleOk() (*string, bool)` 39 40 GetTitleOk returns a tuple with the Title field if it's non-nil, zero value otherwise 41 and a boolean to check if the value has been set. 42 43 ### SetTitle 44 45 `func (o *ProblemGeneric) SetTitle(v string)` 46 47 SetTitle sets Title field to given value. 48 49 ### HasTitle 50 51 `func (o *ProblemGeneric) HasTitle() bool` 52 53 HasTitle returns a boolean if a field has been set. 54 55 ### GetDetail 56 57 `func (o *ProblemGeneric) GetDetail() string` 58 59 GetDetail returns the Detail field if non-nil, zero value otherwise. 60 61 ### GetDetailOk 62 63 `func (o *ProblemGeneric) GetDetailOk() (*string, bool)` 64 65 GetDetailOk returns a tuple with the Detail field if it's non-nil, zero value otherwise 66 and a boolean to check if the value has been set. 67 68 ### SetDetail 69 70 `func (o *ProblemGeneric) SetDetail(v string)` 71 72 SetDetail sets Detail field to given value. 73 74 ### HasDetail 75 76 `func (o *ProblemGeneric) HasDetail() bool` 77 78 HasDetail returns a boolean if a field has been set. 79 80 ### GetViolations 81 82 `func (o *ProblemGeneric) GetViolations() []ProblemViolation` 83 84 GetViolations returns the Violations field if non-nil, zero value otherwise. 85 86 ### GetViolationsOk 87 88 `func (o *ProblemGeneric) GetViolationsOk() (*[]ProblemViolation, bool)` 89 90 GetViolationsOk returns a tuple with the Violations field if it's non-nil, zero value otherwise 91 and a boolean to check if the value has been set. 92 93 ### SetViolations 94 95 `func (o *ProblemGeneric) SetViolations(v []ProblemViolation)` 96 97 SetViolations sets Violations field to given value. 98 99 ### HasViolations 100 101 `func (o *ProblemGeneric) HasViolations() bool` 102 103 HasViolations returns a boolean if a field has been set. 104 105 ### SetViolationsNil 106 107 `func (o *ProblemGeneric) SetViolationsNil(b bool)` 108 109 SetViolationsNil sets the value for Violations to be an explicit nil 110 111 ### UnsetViolations 112 `func (o *ProblemGeneric) UnsetViolations()` 113 114 UnsetViolations ensures that no value is present for Violations, not even an explicit nil 115 116 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) 117 118