Class: SwaggerAemOsgiClient::OrgApacheSlingJcrResourceInternalJcrResourceResolverFactoryImplProperties

Inherits:
Object
  • Object
show all
Defined in:
lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(attributes = {}) ⇒ OrgApacheSlingJcrResourceInternalJcrResourceResolverFactoryImplProperties

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



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
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 115

def initialize(attributes = {})
  return unless attributes.is_a?(Hash)

  # convert string to symbol for hash key
  attributes = attributes.each_with_object({}) { |(k, v), h| h[k.to_sym] = v }

  if attributes.has_key?(:'resource.resolver.searchpath')
    self.resource_resolver_searchpath = attributes[:'resource.resolver.searchpath']
  end

  if attributes.has_key?(:'resource.resolver.manglenamespaces')
    self.resource_resolver_manglenamespaces = attributes[:'resource.resolver.manglenamespaces']
  end

  if attributes.has_key?(:'resource.resolver.allowDirect')
    self.resource_resolver_allow_direct = attributes[:'resource.resolver.allowDirect']
  end

  if attributes.has_key?(:'resource.resolver.required.providers')
    self.resource_resolver_required_providers = attributes[:'resource.resolver.required.providers']
  end

  if attributes.has_key?(:'resource.resolver.required.providernames')
    self.resource_resolver_required_providernames = attributes[:'resource.resolver.required.providernames']
  end

  if attributes.has_key?(:'resource.resolver.virtual')
    self.resource_resolver_virtual = attributes[:'resource.resolver.virtual']
  end

  if attributes.has_key?(:'resource.resolver.mapping')
    self.resource_resolver_mapping = attributes[:'resource.resolver.mapping']
  end

  if attributes.has_key?(:'resource.resolver.map.location')
    self.resource_resolver_map_location = attributes[:'resource.resolver.map.location']
  end

  if attributes.has_key?(:'resource.resolver.map.observation')
    self.resource_resolver_map_observation = attributes[:'resource.resolver.map.observation']
  end

  if attributes.has_key?(:'resource.resolver.default.vanity.redirect.status')
    self.resource_resolver_default_vanity_redirect_status = attributes[:'resource.resolver.default.vanity.redirect.status']
  end

  if attributes.has_key?(:'resource.resolver.enable.vanitypath')
    self.resource_resolver_enable_vanitypath = attributes[:'resource.resolver.enable.vanitypath']
  end

  if attributes.has_key?(:'resource.resolver.vanitypath.maxEntries')
    self.resource_resolver_vanitypath_max_entries = attributes[:'resource.resolver.vanitypath.maxEntries']
  end

  if attributes.has_key?(:'resource.resolver.vanitypath.maxEntries.startup')
    self.resource_resolver_vanitypath_max_entries_startup = attributes[:'resource.resolver.vanitypath.maxEntries.startup']
  end

  if attributes.has_key?(:'resource.resolver.vanitypath.bloomfilter.maxBytes')
    self.resource_resolver_vanitypath_bloomfilter_max_bytes = attributes[:'resource.resolver.vanitypath.bloomfilter.maxBytes']
  end

  if attributes.has_key?(:'resource.resolver.optimize.alias.resolution')
    self.resource_resolver_optimize_alias_resolution = attributes[:'resource.resolver.optimize.alias.resolution']
  end

  if attributes.has_key?(:'resource.resolver.vanitypath.whitelist')
    self.resource_resolver_vanitypath_whitelist = attributes[:'resource.resolver.vanitypath.whitelist']
  end

  if attributes.has_key?(:'resource.resolver.vanitypath.blacklist')
    self.resource_resolver_vanitypath_blacklist = attributes[:'resource.resolver.vanitypath.blacklist']
  end

  if attributes.has_key?(:'resource.resolver.vanity.precedence')
    self.resource_resolver_vanity_precedence = attributes[:'resource.resolver.vanity.precedence']
  end

  if attributes.has_key?(:'resource.resolver.providerhandling.paranoid')
    self.resource_resolver_providerhandling_paranoid = attributes[:'resource.resolver.providerhandling.paranoid']
  end

  if attributes.has_key?(:'resource.resolver.log.closing')
    self.resource_resolver_log_closing = attributes[:'resource.resolver.log.closing']
  end

  if attributes.has_key?(:'resource.resolver.log.unclosed')
    self.resource_resolver_log_unclosed = attributes[:'resource.resolver.log.unclosed']
  end
end

Instance Attribute Details

#resource_resolver_allow_directObject

Returns the value of attribute resource_resolver_allow_direct.



21
22
23
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 21

def resource_resolver_allow_direct
  @resource_resolver_allow_direct
end

#resource_resolver_default_vanity_redirect_statusObject

Returns the value of attribute resource_resolver_default_vanity_redirect_status.



35
36
37
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 35

def resource_resolver_default_vanity_redirect_status
  @resource_resolver_default_vanity_redirect_status
end

#resource_resolver_enable_vanitypathObject

Returns the value of attribute resource_resolver_enable_vanitypath.



37
38
39
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 37

def resource_resolver_enable_vanitypath
  @resource_resolver_enable_vanitypath
end

#resource_resolver_log_closingObject

Returns the value of attribute resource_resolver_log_closing.



55
56
57
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 55

def resource_resolver_log_closing
  @resource_resolver_log_closing
end

#resource_resolver_log_unclosedObject

Returns the value of attribute resource_resolver_log_unclosed.



57
58
59
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 57

def resource_resolver_log_unclosed
  @resource_resolver_log_unclosed
end

#resource_resolver_manglenamespacesObject

Returns the value of attribute resource_resolver_manglenamespaces.



19
20
21
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 19

def resource_resolver_manglenamespaces
  @resource_resolver_manglenamespaces
end

#resource_resolver_map_locationObject

Returns the value of attribute resource_resolver_map_location.



31
32
33
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 31

def resource_resolver_map_location
  @resource_resolver_map_location
end

#resource_resolver_map_observationObject

Returns the value of attribute resource_resolver_map_observation.



33
34
35
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 33

def resource_resolver_map_observation
  @resource_resolver_map_observation
end

#resource_resolver_mappingObject

Returns the value of attribute resource_resolver_mapping.



29
30
31
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 29

def resource_resolver_mapping
  @resource_resolver_mapping
end

#resource_resolver_optimize_alias_resolutionObject

Returns the value of attribute resource_resolver_optimize_alias_resolution.



45
46
47
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 45

def resource_resolver_optimize_alias_resolution
  @resource_resolver_optimize_alias_resolution
end

#resource_resolver_providerhandling_paranoidObject

Returns the value of attribute resource_resolver_providerhandling_paranoid.



53
54
55
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 53

def resource_resolver_providerhandling_paranoid
  @resource_resolver_providerhandling_paranoid
end

#resource_resolver_required_providernamesObject

Returns the value of attribute resource_resolver_required_providernames.



25
26
27
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 25

def resource_resolver_required_providernames
  @resource_resolver_required_providernames
end

#resource_resolver_required_providersObject

Returns the value of attribute resource_resolver_required_providers.



23
24
25
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 23

def resource_resolver_required_providers
  @resource_resolver_required_providers
end

#resource_resolver_searchpathObject

Returns the value of attribute resource_resolver_searchpath.



17
18
19
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 17

def resource_resolver_searchpath
  @resource_resolver_searchpath
end

#resource_resolver_vanity_precedenceObject

Returns the value of attribute resource_resolver_vanity_precedence.



51
52
53
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 51

def resource_resolver_vanity_precedence
  @resource_resolver_vanity_precedence
end

#resource_resolver_vanitypath_blacklistObject

Returns the value of attribute resource_resolver_vanitypath_blacklist.



49
50
51
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 49

def resource_resolver_vanitypath_blacklist
  @resource_resolver_vanitypath_blacklist
end

#resource_resolver_vanitypath_bloomfilter_max_bytesObject

Returns the value of attribute resource_resolver_vanitypath_bloomfilter_max_bytes.



43
44
45
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 43

def resource_resolver_vanitypath_bloomfilter_max_bytes
  @resource_resolver_vanitypath_bloomfilter_max_bytes
end

#resource_resolver_vanitypath_max_entriesObject

Returns the value of attribute resource_resolver_vanitypath_max_entries.



39
40
41
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 39

def resource_resolver_vanitypath_max_entries
  @resource_resolver_vanitypath_max_entries
end

#resource_resolver_vanitypath_max_entries_startupObject

Returns the value of attribute resource_resolver_vanitypath_max_entries_startup.



41
42
43
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 41

def resource_resolver_vanitypath_max_entries_startup
  @resource_resolver_vanitypath_max_entries_startup
end

#resource_resolver_vanitypath_whitelistObject

Returns the value of attribute resource_resolver_vanitypath_whitelist.



47
48
49
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 47

def resource_resolver_vanitypath_whitelist
  @resource_resolver_vanitypath_whitelist
end

#resource_resolver_virtualObject

Returns the value of attribute resource_resolver_virtual.



27
28
29
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 27

def resource_resolver_virtual
  @resource_resolver_virtual
end

Class Method Details

.attribute_mapObject

Attribute mapping from ruby-style variable name to JSON key.



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
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 60

def self.attribute_map
  {
    :'resource_resolver_searchpath' => :'resource.resolver.searchpath',
    :'resource_resolver_manglenamespaces' => :'resource.resolver.manglenamespaces',
    :'resource_resolver_allow_direct' => :'resource.resolver.allowDirect',
    :'resource_resolver_required_providers' => :'resource.resolver.required.providers',
    :'resource_resolver_required_providernames' => :'resource.resolver.required.providernames',
    :'resource_resolver_virtual' => :'resource.resolver.virtual',
    :'resource_resolver_mapping' => :'resource.resolver.mapping',
    :'resource_resolver_map_location' => :'resource.resolver.map.location',
    :'resource_resolver_map_observation' => :'resource.resolver.map.observation',
    :'resource_resolver_default_vanity_redirect_status' => :'resource.resolver.default.vanity.redirect.status',
    :'resource_resolver_enable_vanitypath' => :'resource.resolver.enable.vanitypath',
    :'resource_resolver_vanitypath_max_entries' => :'resource.resolver.vanitypath.maxEntries',
    :'resource_resolver_vanitypath_max_entries_startup' => :'resource.resolver.vanitypath.maxEntries.startup',
    :'resource_resolver_vanitypath_bloomfilter_max_bytes' => :'resource.resolver.vanitypath.bloomfilter.maxBytes',
    :'resource_resolver_optimize_alias_resolution' => :'resource.resolver.optimize.alias.resolution',
    :'resource_resolver_vanitypath_whitelist' => :'resource.resolver.vanitypath.whitelist',
    :'resource_resolver_vanitypath_blacklist' => :'resource.resolver.vanitypath.blacklist',
    :'resource_resolver_vanity_precedence' => :'resource.resolver.vanity.precedence',
    :'resource_resolver_providerhandling_paranoid' => :'resource.resolver.providerhandling.paranoid',
    :'resource_resolver_log_closing' => :'resource.resolver.log.closing',
    :'resource_resolver_log_unclosed' => :'resource.resolver.log.unclosed'
  }
end

.openapi_typesObject

Attribute type mapping.



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
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 87

def self.openapi_types
  {
    :'resource_resolver_searchpath' => :'ConfigNodePropertyArray',
    :'resource_resolver_manglenamespaces' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_allow_direct' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_required_providers' => :'ConfigNodePropertyArray',
    :'resource_resolver_required_providernames' => :'ConfigNodePropertyArray',
    :'resource_resolver_virtual' => :'ConfigNodePropertyArray',
    :'resource_resolver_mapping' => :'ConfigNodePropertyArray',
    :'resource_resolver_map_location' => :'ConfigNodePropertyString',
    :'resource_resolver_map_observation' => :'ConfigNodePropertyArray',
    :'resource_resolver_default_vanity_redirect_status' => :'ConfigNodePropertyInteger',
    :'resource_resolver_enable_vanitypath' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_vanitypath_max_entries' => :'ConfigNodePropertyInteger',
    :'resource_resolver_vanitypath_max_entries_startup' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_vanitypath_bloomfilter_max_bytes' => :'ConfigNodePropertyInteger',
    :'resource_resolver_optimize_alias_resolution' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_vanitypath_whitelist' => :'ConfigNodePropertyArray',
    :'resource_resolver_vanitypath_blacklist' => :'ConfigNodePropertyArray',
    :'resource_resolver_vanity_precedence' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_providerhandling_paranoid' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_log_closing' => :'ConfigNodePropertyBoolean',
    :'resource_resolver_log_unclosed' => :'ConfigNodePropertyBoolean'
  }
end

Instance Method Details

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 221

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      resource_resolver_searchpath == o.resource_resolver_searchpath &&
      resource_resolver_manglenamespaces == o.resource_resolver_manglenamespaces &&
      resource_resolver_allow_direct == o.resource_resolver_allow_direct &&
      resource_resolver_required_providers == o.resource_resolver_required_providers &&
      resource_resolver_required_providernames == o.resource_resolver_required_providernames &&
      resource_resolver_virtual == o.resource_resolver_virtual &&
      resource_resolver_mapping == o.resource_resolver_mapping &&
      resource_resolver_map_location == o.resource_resolver_map_location &&
      resource_resolver_map_observation == o.resource_resolver_map_observation &&
      resource_resolver_default_vanity_redirect_status == o.resource_resolver_default_vanity_redirect_status &&
      resource_resolver_enable_vanitypath == o.resource_resolver_enable_vanitypath &&
      resource_resolver_vanitypath_max_entries == o.resource_resolver_vanitypath_max_entries &&
      resource_resolver_vanitypath_max_entries_startup == o.resource_resolver_vanitypath_max_entries_startup &&
      resource_resolver_vanitypath_bloomfilter_max_bytes == o.resource_resolver_vanitypath_bloomfilter_max_bytes &&
      resource_resolver_optimize_alias_resolution == o.resource_resolver_optimize_alias_resolution &&
      resource_resolver_vanitypath_whitelist == o.resource_resolver_vanitypath_whitelist &&
      resource_resolver_vanitypath_blacklist == o.resource_resolver_vanitypath_blacklist &&
      resource_resolver_vanity_precedence == o.resource_resolver_vanity_precedence &&
      resource_resolver_providerhandling_paranoid == o.resource_resolver_providerhandling_paranoid &&
      resource_resolver_log_closing == o.resource_resolver_log_closing &&
      resource_resolver_log_unclosed == o.resource_resolver_log_unclosed
end

#_deserialize(type, value) ⇒ Object

Deserializes the data based on type

Parameters:

  • string

    type Data type

  • string

    value Value to be deserialized

Returns:

  • (Object)

    Deserialized data



283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 283

def _deserialize(type, value)
  case type.to_sym
  when :DateTime
    DateTime.parse(value)
  when :Date
    Date.parse(value)
  when :String
    value.to_s
  when :Integer
    value.to_i
  when :Float
    value.to_f
  when :BOOLEAN
    if value.to_s =~ /\A(true|t|yes|y|1)\z/i
      true
    else
      false
    end
  when :Object
    # generic object (usually a Hash), return directly
    value
  when /\AArray<(?<inner_type>.+)>\z/
    inner_type = Regexp.last_match[:inner_type]
    value.map { |v| _deserialize(inner_type, v) }
  when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/
    k_type = Regexp.last_match[:k_type]
    v_type = Regexp.last_match[:v_type]
    {}.tap do |hash|
      value.each do |k, v|
        hash[_deserialize(k_type, k)] = _deserialize(v_type, v)
      end
    end
  else # model
    temp_model = SwaggerAemOsgiClient.const_get(type).new
    temp_model.build_from_hash(value)
  end
end

#_to_hash(value) ⇒ Hash

Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value

Parameters:

  • value (Object)

    Any valid value

Returns:

  • (Hash)

    Returns the value in the form of hash



349
350
351
352
353
354
355
356
357
358
359
360
361
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 349

def _to_hash(value)
  if value.is_a?(Array)
    value.compact.map { |v| _to_hash(v) }
  elsif value.is_a?(Hash)
    {}.tap do |hash|
      value.each { |k, v| hash[k] = _to_hash(v) }
    end
  elsif value.respond_to? :to_hash
    value.to_hash
  else
    value
  end
end

#build_from_hash(attributes) ⇒ Object

Builds the object from hash

Parameters:

  • attributes (Hash)

    Model attributes in the form of hash

Returns:

  • (Object)

    Returns the model itself



262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 262

def build_from_hash(attributes)
  return nil unless attributes.is_a?(Hash)
  self.class.openapi_types.each_pair do |key, type|
    if type =~ /\AArray<(.*)>/i
      # check to ensure the input is an array given that the the attribute
      # is documented as an array but the input is not
      if attributes[self.class.attribute_map[key]].is_a?(Array)
        self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
      end
    elsif !attributes[self.class.attribute_map[key]].nil?
      self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]]))
    end # or else data not found in attributes(hash), not an issue as the data can be optional
  end

  self
end

#eql?(o) ⇒ Boolean

Parameters:

  • Object (Object)

    to be compared

Returns:

  • (Boolean)

See Also:

  • `==` method


249
250
251
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 249

def eql?(o)
  self == o
end

#hashFixnum

Calculates hash code according to all attributes.

Returns:

  • (Fixnum)

    Hash code



255
256
257
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 255

def hash
  [resource_resolver_searchpath, resource_resolver_manglenamespaces, resource_resolver_allow_direct, resource_resolver_required_providers, resource_resolver_required_providernames, resource_resolver_virtual, resource_resolver_mapping, resource_resolver_map_location, resource_resolver_map_observation, resource_resolver_default_vanity_redirect_status, resource_resolver_enable_vanitypath, resource_resolver_vanitypath_max_entries, resource_resolver_vanitypath_max_entries_startup, resource_resolver_vanitypath_bloomfilter_max_bytes, resource_resolver_optimize_alias_resolution, resource_resolver_vanitypath_whitelist, resource_resolver_vanitypath_blacklist, resource_resolver_vanity_precedence, resource_resolver_providerhandling_paranoid, resource_resolver_log_closing, resource_resolver_log_unclosed].hash
end

#list_invalid_propertiesObject

Show invalid properties with the reasons. Usually used together with valid?

Returns:

  • Array for valid properties with the reasons



208
209
210
211
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 208

def list_invalid_properties
  invalid_properties = Array.new
  invalid_properties
end

#to_bodyHash

to_body is an alias to to_hash (backward compatibility)

Returns:

  • (Hash)

    Returns the object in the form of hash



329
330
331
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 329

def to_body
  to_hash
end

#to_hashHash

Returns the object in the form of hash

Returns:

  • (Hash)

    Returns the object in the form of hash



335
336
337
338
339
340
341
342
343
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 335

def to_hash
  hash = {}
  self.class.attribute_map.each_pair do |attr, param|
    value = self.send(attr)
    next if value.nil?
    hash[param] = _to_hash(value)
  end
  hash
end

#to_sString

Returns the string representation of the object

Returns:

  • (String)

    String presentation of the object



323
324
325
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 323

def to_s
  to_hash.to_s
end

#valid?Boolean

Check to see if the all the properties in the model are valid

Returns:

  • (Boolean)

    true if the model is valid



215
216
217
# File 'lib/swagger_aem_osgi/models/org_apache_sling_jcr_resource_internal_jcr_resource_resolver_factory_impl_properties.rb', line 215

def valid?
  true
end