-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_result_all_of_strings.go
187 lines (155 loc) · 6.86 KB
/
model_result_all_of_strings.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/*
* UnpacMe
*
* # Introduction Welcome to the UNPACME API! All the malware unpacking and file analysis features that you are familiar with on the [unpac.me](https://www.unpac.me/) website are available through our API. You can easily integrate our unpacker into your malware analysis pipeline and begin unpacking at scale! # Authentication The public UNPACME API is publicly available and can be accessed without authentication. In order to use the private UNPACME API you must sign up for an account with UNPACME. Once you have a valid user account you can view your personal API key in your user profile. <SecurityDefinitions /> # Response Structure When interacting with the UNPACME API, if the request was correctly handled, a <b>200</b> HTTP status code will be returned. The body of the response will usually be a JSON object (except for file downloads). ## Response Status Codes Status Code | Description | Notes ------------- | ------------- | - 200 | OK | The request was successful 400 | Bad Request | The request was somehow incorrect. This can be caused by missing arguments or arguments with wrong values. 401 | Unauthorized | The supplied credentials, if any, are not sufficient to access the resource 403 | Forbidden | The account does not have enough privileges to make the request. 404 | Not Found | The requested resource is not found 429 | Too Many Requests | The request frequency has exceeded one of the account quotas (minute, daily or monthly). Monthly quotas are reset on the 1st of the month at 00:00 UTC. 500 | Server Error | The server could not return the representation due to an internal server error ## Error Response If an error has occurred while handling the request an error status code will be returend along with a JSON error message with the following properties. Property | Description ------------- | ------------- Error | The error type Description | A more informative message # Example Clients The following clients can be used to interact with the UNPACME API directly and are provided as examples. These clients are community projects and are not maintained or developed by UNPACME. UNPACME makes no claim as to the safety of these clients, use at your own risk. - [UnpacMe Client](https://github.com/larsborn/UnpacMeClient) (Python) - [UnpacMe Library](https://github.com/R3MRUM/unpacme) (Python) <br>
*
* API version: 1.0.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package openapi
import (
"encoding/json"
)
// ResultAllOfStrings struct for ResultAllOfStrings
type ResultAllOfStrings struct {
Ascii *[]string `json:"ascii,omitempty"`
Stack *[]string `json:"stack,omitempty"`
Wide *[]string `json:"wide,omitempty"`
}
// NewResultAllOfStrings instantiates a new ResultAllOfStrings 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 NewResultAllOfStrings() *ResultAllOfStrings {
this := ResultAllOfStrings{}
return &this
}
// NewResultAllOfStringsWithDefaults instantiates a new ResultAllOfStrings 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 NewResultAllOfStringsWithDefaults() *ResultAllOfStrings {
this := ResultAllOfStrings{}
return &this
}
// GetAscii returns the Ascii field value if set, zero value otherwise.
func (o *ResultAllOfStrings) GetAscii() []string {
if o == nil || o.Ascii == nil {
var ret []string
return ret
}
return *o.Ascii
}
// GetAsciiOk returns a tuple with the Ascii field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResultAllOfStrings) GetAsciiOk() (*[]string, bool) {
if o == nil || o.Ascii == nil {
return nil, false
}
return o.Ascii, true
}
// HasAscii returns a boolean if a field has been set.
func (o *ResultAllOfStrings) HasAscii() bool {
if o != nil && o.Ascii != nil {
return true
}
return false
}
// SetAscii gets a reference to the given []string and assigns it to the Ascii field.
func (o *ResultAllOfStrings) SetAscii(v []string) {
o.Ascii = &v
}
// GetStack returns the Stack field value if set, zero value otherwise.
func (o *ResultAllOfStrings) GetStack() []string {
if o == nil || o.Stack == nil {
var ret []string
return ret
}
return *o.Stack
}
// GetStackOk returns a tuple with the Stack field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResultAllOfStrings) GetStackOk() (*[]string, bool) {
if o == nil || o.Stack == nil {
return nil, false
}
return o.Stack, true
}
// HasStack returns a boolean if a field has been set.
func (o *ResultAllOfStrings) HasStack() bool {
if o != nil && o.Stack != nil {
return true
}
return false
}
// SetStack gets a reference to the given []string and assigns it to the Stack field.
func (o *ResultAllOfStrings) SetStack(v []string) {
o.Stack = &v
}
// GetWide returns the Wide field value if set, zero value otherwise.
func (o *ResultAllOfStrings) GetWide() []string {
if o == nil || o.Wide == nil {
var ret []string
return ret
}
return *o.Wide
}
// GetWideOk returns a tuple with the Wide field value if set, nil otherwise
// and a boolean to check if the value has been set.
func (o *ResultAllOfStrings) GetWideOk() (*[]string, bool) {
if o == nil || o.Wide == nil {
return nil, false
}
return o.Wide, true
}
// HasWide returns a boolean if a field has been set.
func (o *ResultAllOfStrings) HasWide() bool {
if o != nil && o.Wide != nil {
return true
}
return false
}
// SetWide gets a reference to the given []string and assigns it to the Wide field.
func (o *ResultAllOfStrings) SetWide(v []string) {
o.Wide = &v
}
func (o ResultAllOfStrings) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.Ascii != nil {
toSerialize["ascii"] = o.Ascii
}
if o.Stack != nil {
toSerialize["stack"] = o.Stack
}
if o.Wide != nil {
toSerialize["wide"] = o.Wide
}
return json.Marshal(toSerialize)
}
type NullableResultAllOfStrings struct {
value *ResultAllOfStrings
isSet bool
}
func (v NullableResultAllOfStrings) Get() *ResultAllOfStrings {
return v.value
}
func (v *NullableResultAllOfStrings) Set(val *ResultAllOfStrings) {
v.value = val
v.isSet = true
}
func (v NullableResultAllOfStrings) IsSet() bool {
return v.isSet
}
func (v *NullableResultAllOfStrings) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableResultAllOfStrings(val *ResultAllOfStrings) *NullableResultAllOfStrings {
return &NullableResultAllOfStrings{value: val, isSet: true}
}
func (v NullableResultAllOfStrings) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableResultAllOfStrings) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}