Class: UU::OS::AppMetaModel::AppMetaModelInstallSharedMetaModelAppParameters

Inherits:
REST::DTO
  • Object
show all
Defined in:
uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from REST::DTO

#initialize, #to_hash, #to_json

Constructor Details

This class inherits a constructor from UU::OS::REST::DTO

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class UU::OS::REST::DTO

Instance Attribute Details

- (Object) app_box_uri



48
49
50
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 48

def app_box_uri
  @app_box_uri
end

- (Object) app_identities



51
52
53
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 51

def app_identities
  @app_identities
end

- (Object) app_identity_cast_list



57
58
59
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 57

def app_identity_cast_list
  @app_identity_cast_list
end

- (Object) app_installation_config



54
55
56
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 54

def app_installation_config
  @app_installation_config
end

- (Object) appLimits



72
73
74
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 72

def appLimits
  @appLimits
end

- (Object) dev_app_space_uri



63
64
65
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 63

def dev_app_space_uri
  @dev_app_space_uri
end

- (Object) dev_meta_model_suffix



66
67
68
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 66

def dev_meta_model_suffix
  @dev_meta_model_suffix
end

- (Object) dev_shared_space_uri



69
70
71
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 69

def dev_shared_space_uri
  @dev_shared_space_uri
end

- (Object) dev_system_space_uri



60
61
62
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 60

def dev_system_space_uri
  @dev_system_space_uri
end

- (Object) force



75
76
77
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 75

def force
  @force
end

Instance Method Details

- (Object) app_limits



89
90
91
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 89

def app_limits
  attributes[:appLimits]
end

- (Object) app_limits=(val)



93
94
95
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 93

def app_limits=(val)
  attributes[:appLimits] = val
end

- (Object) camelize_array(array)



41
42
43
44
45
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 41

def camelize_array(array)
  array.each {|the_hash|
    camelize_hash(the_hash)
  }
end

- (Object) camelize_hash(the_hash)



22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 22

def camelize_hash(the_hash )
 if !the_hash.nil?
      
  the_hash.keys.each do |k|
      
    if the_hash[k].is_a?(Hash)
      camelize_hash(the_hash[k])
      the_hash[to_camel(k.to_s).to_sym] = the_hash.delete k
    elsif the_hash[k].is_a?(Array)
           the_hash[k].each { |h| camelize_hash(h) }
    else
      the_hash[to_camel(k.to_s).to_sym] = the_hash.delete k
      end
  end
      
  return the_hash
 end
end

- (Object) to_camel(snake)



11
12
13
14
15
16
17
18
19
20
# File 'uu_os-0.29.16/lib/uu/os/app_meta_model/app_meta_model_install_shared_meta_model_app_parameters.rb', line 11

def to_camel snake
  parts = snake.split("_")
      
  for i in 1..parts.size-1
    parts[i] = parts[i].capitalize
      
  end
  return parts.join
      
end