/
model_response_pipeline_all_of.go
121 lines (94 loc) · 3.59 KB
/
model_response_pipeline_all_of.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
/*
* IONOS Logging REST API
*
* Logging Service is a service that provides a centralized logging system where users are able to push and aggregate their system or application logs. This service also provides a visualization platform where users are able to observe, search and filter the logs and also create dashboards and alerts for their data points. This service can be managed through a browser-based \"Data Center Designer\" (DCD) tool or via an API. The API allows you to create logging pipelines or modify existing ones. It is designed to allow users to leverage the same power and flexibility found within the DCD visual tool. Both tools are consistent with their concepts and lend well to making the experience smooth and intuitive.
*
* API version: 0.0.1
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package logging
import (
"encoding/json"
)
// ResponsePipelineAllOf struct for ResponsePipelineAllOf
type ResponsePipelineAllOf struct {
Public *bool `json:"public,omitempty"`
}
// NewResponsePipelineAllOf instantiates a new ResponsePipelineAllOf 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 NewResponsePipelineAllOf() *ResponsePipelineAllOf {
this := ResponsePipelineAllOf{}
return &this
}
// NewResponsePipelineAllOfWithDefaults instantiates a new ResponsePipelineAllOf 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 NewResponsePipelineAllOfWithDefaults() *ResponsePipelineAllOf {
this := ResponsePipelineAllOf{}
return &this
}
// GetPublic returns the Public field value
// If the value is explicit nil, the zero value for bool will be returned
func (o *ResponsePipelineAllOf) GetPublic() *bool {
if o == nil {
return nil
}
return o.Public
}
// GetPublicOk returns a tuple with the Public field value
// and a boolean to check if the value has been set.
// NOTE: If the value is an explicit nil, `nil, true` will be returned
func (o *ResponsePipelineAllOf) GetPublicOk() (*bool, bool) {
if o == nil {
return nil, false
}
return o.Public, true
}
// SetPublic sets field value
func (o *ResponsePipelineAllOf) SetPublic(v bool) {
o.Public = &v
}
// HasPublic returns a boolean if a field has been set.
func (o *ResponsePipelineAllOf) HasPublic() bool {
if o != nil && o.Public != nil {
return true
}
return false
}
func (o ResponsePipelineAllOf) MarshalJSON() ([]byte, error) {
toSerialize := map[string]interface{}{}
if o.Public != nil {
toSerialize["public"] = o.Public
}
return json.Marshal(toSerialize)
}
type NullableResponsePipelineAllOf struct {
value *ResponsePipelineAllOf
isSet bool
}
func (v NullableResponsePipelineAllOf) Get() *ResponsePipelineAllOf {
return v.value
}
func (v *NullableResponsePipelineAllOf) Set(val *ResponsePipelineAllOf) {
v.value = val
v.isSet = true
}
func (v NullableResponsePipelineAllOf) IsSet() bool {
return v.isSet
}
func (v *NullableResponsePipelineAllOf) Unset() {
v.value = nil
v.isSet = false
}
func NewNullableResponsePipelineAllOf(val *ResponsePipelineAllOf) *NullableResponsePipelineAllOf {
return &NullableResponsePipelineAllOf{value: val, isSet: true}
}
func (v NullableResponsePipelineAllOf) MarshalJSON() ([]byte, error) {
return json.Marshal(v.value)
}
func (v *NullableResponsePipelineAllOf) UnmarshalJSON(src []byte) error {
v.isSet = true
return json.Unmarshal(src, &v.value)
}