foreman_api 0.1.9 → 0.1.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +4 -4
  2. data/doc/ForemanApi.html +3 -3
  3. data/doc/ForemanApi/Resources.html +4 -4
  4. data/doc/ForemanApi/Resources/Architecture.html +5 -5
  5. data/doc/ForemanApi/Resources/Audit.html +1 -1
  6. data/doc/ForemanApi/Resources/AuthSourceLdap.html +23 -23
  7. data/doc/ForemanApi/Resources/Autosign.html +1 -1
  8. data/doc/ForemanApi/Resources/Bookmark.html +5 -5
  9. data/doc/ForemanApi/Resources/CommonParameter.html +3 -3
  10. data/doc/ForemanApi/Resources/ComputeResource.html +27 -27
  11. data/doc/ForemanApi/Resources/ConfigTemplate.html +12 -12
  12. data/doc/ForemanApi/Resources/Dashboard.html +1 -1
  13. data/doc/ForemanApi/Resources/Domain.html +8 -6
  14. data/doc/ForemanApi/Resources/Environment.html +3 -3
  15. data/doc/ForemanApi/Resources/FactValue.html +1 -1
  16. data/doc/ForemanApi/Resources/Home.html +1 -1
  17. data/doc/ForemanApi/Resources/Host.html +58 -62
  18. data/doc/ForemanApi/Resources/HostClass.html +1 -1
  19. data/doc/ForemanApi/Resources/Hostgroup.html +23 -23
  20. data/doc/ForemanApi/Resources/HostgroupClass.html +6 -19
  21. data/doc/ForemanApi/Resources/Image.html +3 -3
  22. data/doc/ForemanApi/Resources/Interface.html +14 -18
  23. data/doc/ForemanApi/Resources/Location.html +3 -3
  24. data/doc/ForemanApi/Resources/LookupKey.html +1 -1
  25. data/doc/ForemanApi/Resources/Medium.html +10 -10
  26. data/doc/ForemanApi/Resources/Model.html +9 -9
  27. data/doc/ForemanApi/Resources/OperatingSystem.html +9 -9
  28. data/doc/ForemanApi/Resources/Organization.html +3 -3
  29. data/doc/ForemanApi/Resources/OsDefaultTemplate.html +1031 -0
  30. data/doc/ForemanApi/Resources/OverrideValue.html +38 -12
  31. data/doc/ForemanApi/Resources/Parameter.html +191 -35
  32. data/doc/ForemanApi/Resources/Plugin.html +1 -1
  33. data/doc/ForemanApi/Resources/Ptable.html +5 -5
  34. data/doc/ForemanApi/Resources/Puppetclass.html +3 -3
  35. data/doc/ForemanApi/Resources/Report.html +15 -15
  36. data/doc/ForemanApi/Resources/Role.html +3 -3
  37. data/doc/ForemanApi/Resources/Setting.html +1 -1
  38. data/doc/ForemanApi/Resources/SmartClassParameter.html +1 -1
  39. data/doc/ForemanApi/Resources/SmartProxy.html +3 -3
  40. data/doc/ForemanApi/Resources/SmartVariable.html +17 -17
  41. data/doc/ForemanApi/Resources/Statistic.html +1 -1
  42. data/doc/ForemanApi/Resources/Subnet.html +13 -13
  43. data/doc/ForemanApi/Resources/Task.html +1 -1
  44. data/doc/ForemanApi/Resources/TemplateCombination.html +1 -1
  45. data/doc/ForemanApi/Resources/TemplateKind.html +1 -1
  46. data/doc/ForemanApi/Resources/User.html +15 -13
  47. data/doc/ForemanApi/Resources/Usergroup.html +3 -3
  48. data/doc/_index.html +8 -1
  49. data/doc/class_list.html +1 -1
  50. data/doc/file.MIT-LICENSE.html +1 -1
  51. data/doc/file.README.html +1 -1
  52. data/doc/index.html +1 -1
  53. data/doc/method_list.html +443 -407
  54. data/doc/top-level-namespace.html +1 -1
  55. data/lib/foreman_api/base.rb +1 -1
  56. data/lib/foreman_api/documentation.json +1 -1
  57. data/lib/foreman_api/resources/architecture.rb +4 -4
  58. data/lib/foreman_api/resources/auth_source_ldap.rb +22 -22
  59. data/lib/foreman_api/resources/bookmark.rb +4 -4
  60. data/lib/foreman_api/resources/common_parameter.rb +2 -2
  61. data/lib/foreman_api/resources/compute_resource.rb +20 -20
  62. data/lib/foreman_api/resources/config_template.rb +7 -7
  63. data/lib/foreman_api/resources/domain.rb +5 -5
  64. data/lib/foreman_api/resources/environment.rb +2 -2
  65. data/lib/foreman_api/resources/host.rb +55 -55
  66. data/lib/foreman_api/resources/hostgroup.rb +22 -22
  67. data/lib/foreman_api/resources/hostgroup_class.rb +1 -2
  68. data/lib/foreman_api/resources/image.rb +2 -2
  69. data/lib/foreman_api/resources/interface.rb +13 -13
  70. data/lib/foreman_api/resources/location.rb +2 -2
  71. data/lib/foreman_api/resources/medium.rb +6 -6
  72. data/lib/foreman_api/resources/model.rb +8 -8
  73. data/lib/foreman_api/resources/operating_system.rb +8 -8
  74. data/lib/foreman_api/resources/organization.rb +2 -2
  75. data/lib/foreman_api/resources/os_default_template.rb +68 -0
  76. data/lib/foreman_api/resources/override_value.rb +11 -11
  77. data/lib/foreman_api/resources/parameter.rb +18 -6
  78. data/lib/foreman_api/resources/ptable.rb +4 -4
  79. data/lib/foreman_api/resources/puppetclass.rb +2 -2
  80. data/lib/foreman_api/resources/report.rb +12 -12
  81. data/lib/foreman_api/resources/role.rb +2 -2
  82. data/lib/foreman_api/resources/smart_proxy.rb +2 -2
  83. data/lib/foreman_api/resources/smart_variable.rb +16 -16
  84. data/lib/foreman_api/resources/subnet.rb +12 -12
  85. data/lib/foreman_api/resources/user.rb +7 -6
  86. data/lib/foreman_api/resources/usergroup.rb +2 -2
  87. data/lib/foreman_api/version.rb +1 -1
  88. metadata +4 -2
@@ -25,9 +25,8 @@ module ForemanApi
25
25
  end
26
26
 
27
27
  # @param [Hash] params a hash of params to be passed to the service
28
- # @option params [Object] id Part of +/api/hostgroups/:hostgroup_id/puppetclass_ids/:id+ path
28
+ # @option params [String] id id of puppetclass
29
29
  # @option params [String] hostgroup_id id of hostgroup
30
- # @option params [String] puppetclass_id id of puppetclass
31
30
  #
32
31
  # @param [Hash] headers additional http headers
33
32
  # @return [Array] First item: parsed data; second item: raw body
@@ -30,7 +30,7 @@ module ForemanApi
30
30
 
31
31
  # @param [Hash] params a hash of params to be passed to the service
32
32
  # @option params [String] compute_resource_id
33
- # @option params [Hash] image
33
+ # @option params [Hash, nil] image
34
34
  # allowed keys are:
35
35
  # * architecture_id [String]
36
36
  # * compute_resource_id [String]
@@ -48,7 +48,7 @@ module ForemanApi
48
48
  # @param [Hash] params a hash of params to be passed to the service
49
49
  # @option params [String] id
50
50
  # @option params [String] compute_resource_id
51
- # @option params [Hash] image
51
+ # @option params [Hash, nil] image
52
52
  # allowed keys are:
53
53
  # * architecture_id [String]
54
54
  # * compute_resource_id [String]
@@ -26,17 +26,17 @@ module ForemanApi
26
26
 
27
27
  # @param [Hash] params a hash of params to be passed to the service
28
28
  # @option params [String] host_id id or name of host
29
- # @option params [Hash] interface interface information
29
+ # @option params [Hash, nil] interface interface information
30
30
  # allowed keys are:
31
- # * domain_id [Numeric] foreman domain id of interface
32
- # * subnet_id [Numeric] foreman subnet id of interface
31
+ # * domain_id [Numeric, nil] foreman domain id of interface
32
+ # * subnet_id [Numeric, nil] foreman subnet id of interface
33
33
  # * ip [String] ip address of interface
34
34
  # * mac [String] mac address of interface
35
35
  # * name [String] interface name
36
- # * password [String]
37
- # * provider [String] interface provider, i.e: ipmi
36
+ # * password [String, nil]
37
+ # * provider [String, nil] interface provider, i.e: ipmi
38
38
  # * type [String] interface type, i.e: nic::bmc
39
- # * username [String]
39
+ # * username [String, nil]
40
40
  #
41
41
  # @param [Hash] headers additional http headers
42
42
  # @return [Array] First item: parsed data; second item: raw body
@@ -45,19 +45,19 @@ module ForemanApi
45
45
  end
46
46
 
47
47
  # @param [Hash] params a hash of params to be passed to the service
48
- # @option params [Object] id Part of +/api/hosts/:host_id/interfaces/:id+ path
48
+ # @option params [String] id
49
49
  # @option params [String] host_id id or name of host
50
- # @option params [Hash] interface interface information
50
+ # @option params [Hash, nil] interface interface information
51
51
  # allowed keys are:
52
- # * domain_id [Numeric] foreman domain id of interface
53
- # * subnet_id [Numeric] foreman subnet id of interface
52
+ # * domain_id [Numeric, nil] foreman domain id of interface
53
+ # * subnet_id [Numeric, nil] foreman subnet id of interface
54
54
  # * ip [String] ip address of interface
55
55
  # * mac [String] mac address of interface
56
56
  # * name [String] interface name
57
- # * password [String]
58
- # * provider [String] interface provider, i.e: ipmi
57
+ # * password [String, nil]
58
+ # * provider [String, nil] interface provider, i.e: ipmi
59
59
  # * type [String] interface type, i.e: nic::bmc
60
- # * username [String]
60
+ # * username [String, nil]
61
61
  #
62
62
  # @param [Hash] headers additional http headers
63
63
  # @return [Array] First item: parsed data; second item: raw body
@@ -27,7 +27,7 @@ module ForemanApi
27
27
  end
28
28
 
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] location
30
+ # @option params [Hash, nil] location
31
31
  # allowed keys are:
32
32
  # * name [String]
33
33
  #
@@ -39,7 +39,7 @@ module ForemanApi
39
39
 
40
40
  # @param [Hash] params a hash of params to be passed to the service
41
41
  # @option params [Object] id Part of +/api/locations/:id+ path
42
- # @option params [Hash] location
42
+ # @option params [Hash, nil] location
43
43
  # allowed keys are:
44
44
  # * name [String]
45
45
  #
@@ -27,11 +27,11 @@ module ForemanApi
27
27
  end
28
28
 
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] medium
30
+ # @option params [Hash, nil] medium
31
31
  # allowed keys are:
32
- # * operatingsystem_ids [Array]
32
+ # * operatingsystem_ids [Array, nil]
33
33
  # * name [String] name of media
34
- # * os_family [String] the family that the operating system belongs to. available families: archlinux debian freebsd gentoo redhat solaris suse windows
34
+ # * os_family [String, nil] the family that the operating system belongs to. available families: aix archlinux debian freebsd gentoo junos redhat solaris suse windows
35
35
  # * path [String] the path to the medium, can be a url or a valid nfs server (exclusive of the architecture). for example http://mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host’s actual os architecture and $version, $major and $minor will be substituted for the version of the operating system. solaris and debian media may also use $release.
36
36
  #
37
37
  # @param [Hash] headers additional http headers
@@ -42,11 +42,11 @@ module ForemanApi
42
42
 
43
43
  # @param [Hash] params a hash of params to be passed to the service
44
44
  # @option params [String] id
45
- # @option params [Hash] medium
45
+ # @option params [Hash, nil] medium
46
46
  # allowed keys are:
47
- # * operatingsystem_ids [Array]
47
+ # * operatingsystem_ids [Array, nil]
48
48
  # * name [String] name of media
49
- # * os_family [String, nil] the family that the operating system belongs to. available families: archlinux debian freebsd gentoo redhat solaris suse windows
49
+ # * os_family [String, nil] the family that the operating system belongs to. available families: aix archlinux debian freebsd gentoo junos redhat solaris suse windows
50
50
  # * path [String] the path to the medium, can be a url or a valid nfs server (exclusive of the architecture). for example http://mirror.centos.org/centos/$version/os/$arch where $arch will be substituted for the host’s actual os architecture and $version, $major and $minor will be substituted for the version of the operating system. solaris and debian media may also use $release.
51
51
  #
52
52
  # @param [Hash] headers additional http headers
@@ -27,12 +27,12 @@ module ForemanApi
27
27
  end
28
28
 
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] model
30
+ # @option params [Hash, nil] model
31
31
  # allowed keys are:
32
- # * hardware_model [String]
33
- # * info [String]
32
+ # * hardware_model [String, nil]
33
+ # * info [String, nil]
34
34
  # * name [String]
35
- # * vendor_class [String]
35
+ # * vendor_class [String, nil]
36
36
  #
37
37
  # @param [Hash] headers additional http headers
38
38
  # @return [Array] First item: parsed data; second item: raw body
@@ -42,12 +42,12 @@ module ForemanApi
42
42
 
43
43
  # @param [Hash] params a hash of params to be passed to the service
44
44
  # @option params [String] id
45
- # @option params [Hash] model
45
+ # @option params [Hash, nil] model
46
46
  # allowed keys are:
47
- # * hardware_model [String]
48
- # * info [String]
47
+ # * hardware_model [String, nil]
48
+ # * info [String, nil]
49
49
  # * name [String]
50
- # * vendor_class [String]
50
+ # * vendor_class [String, nil]
51
51
  #
52
52
  # @param [Hash] headers additional http headers
53
53
  # @return [Array] First item: parsed data; second item: raw body
@@ -27,14 +27,14 @@ module ForemanApi
27
27
  end
28
28
 
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] operatingsystem
30
+ # @option params [Hash, nil] operatingsystem
31
31
  # allowed keys are:
32
- # * description [String]
33
- # * family [String]
32
+ # * description [String, nil]
33
+ # * family [String, nil]
34
34
  # * major [String]
35
35
  # * minor [String]
36
36
  # * name [String]
37
- # * release_name [String]
37
+ # * release_name [String, nil]
38
38
  #
39
39
  # @param [Hash] headers additional http headers
40
40
  # @return [Array] First item: parsed data; second item: raw body
@@ -44,14 +44,14 @@ module ForemanApi
44
44
 
45
45
  # @param [Hash] params a hash of params to be passed to the service
46
46
  # @option params [String] id
47
- # @option params [Hash] operatingsystem
47
+ # @option params [Hash, nil] operatingsystem
48
48
  # allowed keys are:
49
- # * description [String]
50
- # * family [String]
49
+ # * description [String, nil]
50
+ # * family [String, nil]
51
51
  # * major [String]
52
52
  # * minor [String]
53
53
  # * name [String]
54
- # * release_name [String]
54
+ # * release_name [String, nil]
55
55
  #
56
56
  # @param [Hash] headers additional http headers
57
57
  # @return [Array] First item: parsed data; second item: raw body
@@ -27,7 +27,7 @@ module ForemanApi
27
27
  end
28
28
 
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] organization
30
+ # @option params [Hash, nil] organization
31
31
  # allowed keys are:
32
32
  # * name [String]
33
33
  #
@@ -39,7 +39,7 @@ module ForemanApi
39
39
 
40
40
  # @param [Hash] params a hash of params to be passed to the service
41
41
  # @option params [Object] id Part of +/api/organizations/:id+ path
42
- # @option params [Hash] organization
42
+ # @option params [Hash, nil] organization
43
43
  # allowed keys are:
44
44
  # * name [String]
45
45
  #
@@ -0,0 +1,68 @@
1
+ module ForemanApi
2
+ module Resources
3
+ class OsDefaultTemplate < ForemanApi::Base
4
+ def self.doc
5
+ @doc ||= ForemanApi.doc['resources']["os_default_templates"]
6
+ end
7
+
8
+ # @param [Hash] params a hash of params to be passed to the service
9
+ # @option params [String] operatingsystem_id id of operating system
10
+ # @option params [String] page paginate results
11
+ # @option params [String] per_page number of entries per request
12
+ #
13
+ # @param [Hash] headers additional http headers
14
+ # @return [Array] First item: parsed data; second item: raw body
15
+ def index(params = {}, headers = {})
16
+ perform_call(__method__, params, headers)
17
+ end
18
+
19
+ # @param [Hash] params a hash of params to be passed to the service
20
+ # @option params [String] id
21
+ # @option params [String] operatingsystem_id id of operating system
22
+ #
23
+ # @param [Hash] headers additional http headers
24
+ # @return [Array] First item: parsed data; second item: raw body
25
+ def show(params = {}, headers = {})
26
+ perform_call(__method__, params, headers)
27
+ end
28
+
29
+ # @param [Hash] params a hash of params to be passed to the service
30
+ # @option params [String] operatingsystem_id id of operating system
31
+ # @option params [Hash, nil] os_default_template
32
+ # allowed keys are:
33
+ # * config_template_id [String, nil]
34
+ # * template_kind_id [String, nil]
35
+ #
36
+ # @param [Hash] headers additional http headers
37
+ # @return [Array] First item: parsed data; second item: raw body
38
+ def create(params = {}, headers = {})
39
+ perform_call(__method__, params, headers)
40
+ end
41
+
42
+ # @param [Hash] params a hash of params to be passed to the service
43
+ # @option params [String] id
44
+ # @option params [String] operatingsystem_id id of operating system
45
+ # @option params [Hash, nil] os_default_template
46
+ # allowed keys are:
47
+ # * config_template_id [String, nil]
48
+ # * template_kind_id [String, nil]
49
+ #
50
+ # @param [Hash] headers additional http headers
51
+ # @return [Array] First item: parsed data; second item: raw body
52
+ def update(params = {}, headers = {})
53
+ perform_call(__method__, params, headers)
54
+ end
55
+
56
+ # @param [Hash] params a hash of params to be passed to the service
57
+ # @option params [String] id
58
+ # @option params [String] operatingsystem_id id of operating system
59
+ #
60
+ # @param [Hash] headers additional http headers
61
+ # @return [Array] First item: parsed data; second item: raw body
62
+ def destroy(params = {}, headers = {})
63
+ perform_call(__method__, params, headers)
64
+ end
65
+
66
+ end
67
+ end
68
+ end
@@ -29,12 +29,12 @@ module ForemanApi
29
29
  end
30
30
 
31
31
  # @param [Hash] params a hash of params to be passed to the service
32
- # @option params [String] smart_class_parameter_id
32
+ # @option params [Object] smart_class_parameter_id Part of +/api/smart_class_parameters/:smart_class_parameter_id/override_values+ path
33
33
  # @option params [String] smart_variable_id
34
- # @option params [Hash] override_value
34
+ # @option params [Hash, nil] override_value
35
35
  # allowed keys are:
36
- # * match [String]
37
- # * value [String]
36
+ # * match [String, nil]
37
+ # * value [String, nil]
38
38
  #
39
39
  # @param [Hash] headers additional http headers
40
40
  # @return [Array] First item: parsed data; second item: raw body
@@ -44,12 +44,12 @@ module ForemanApi
44
44
 
45
45
  # @param [Hash] params a hash of params to be passed to the service
46
46
  # @option params [Object] id Part of +/api/smart_variables/:smart_variable_id/override_values/:id+ path
47
- # @option params [String] smart_class_parameter_id
48
- # @option params [String] smart_variable_id
49
- # @option params [Hash] override_value
47
+ # @option params [Object] smart_class_parameter_id Part of +/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id+ path
48
+ # @option params [Object] smart_variable_id Part of +/api/smart_variables/:smart_variable_id/override_values/:id+ path
49
+ # @option params [Hash, nil] override_value
50
50
  # allowed keys are:
51
- # * match [String]
52
- # * value [String]
51
+ # * match [String, nil]
52
+ # * value [String, nil]
53
53
  #
54
54
  # @param [Hash] headers additional http headers
55
55
  # @return [Array] First item: parsed data; second item: raw body
@@ -59,8 +59,8 @@ module ForemanApi
59
59
 
60
60
  # @param [Hash] params a hash of params to be passed to the service
61
61
  # @option params [String] id
62
- # @option params [String] smart_class_parameter_id
63
- # @option params [String] smart_variable_id
62
+ # @option params [Object] smart_class_parameter_id Part of +/api/smart_class_parameters/:smart_class_parameter_id/override_values/:id+ path
63
+ # @option params [Object] smart_variable_id Part of +/api/smart_variables/:smart_variable_id/override_values/:id+ path
64
64
  #
65
65
  # @param [Hash] headers additional http headers
66
66
  # @return [Array] First item: parsed data; second item: raw body
@@ -9,7 +9,9 @@ module ForemanApi
9
9
  # @option params [String] domain_id id of domain
10
10
  # @option params [String] host_id id of host
11
11
  # @option params [String] hostgroup_id id of hostgroup
12
+ # @option params [String] location_id id of location
12
13
  # @option params [String] operatingsystem_id id of operating system
14
+ # @option params [String] organization_id id of organization
13
15
  # @option params [String] page paginate results
14
16
  # @option params [String] per_page number of entries per request
15
17
  #
@@ -24,7 +26,9 @@ module ForemanApi
24
26
  # @option params [String] domain_id id of domain
25
27
  # @option params [String] host_id id of host
26
28
  # @option params [String] hostgroup_id id of hostgroup
29
+ # @option params [String] location_id id of location
27
30
  # @option params [String] operatingsystem_id id of operating system
31
+ # @option params [String] organization_id id of organization
28
32
  #
29
33
  # @param [Hash] headers additional http headers
30
34
  # @return [Array] First item: parsed data; second item: raw body
@@ -36,8 +40,10 @@ module ForemanApi
36
40
  # @option params [String] domain_id id of domain
37
41
  # @option params [String] host_id id of host
38
42
  # @option params [String] hostgroup_id id of hostgroup
43
+ # @option params [String] location_id id of location
39
44
  # @option params [String] operatingsystem_id id of operating system
40
- # @option params [Hash] parameter
45
+ # @option params [String] organization_id id of organization
46
+ # @option params [Hash, nil] parameter
41
47
  # allowed keys are:
42
48
  # * name [String]
43
49
  # * value [String]
@@ -53,8 +59,10 @@ module ForemanApi
53
59
  # @option params [String] domain_id id of domain
54
60
  # @option params [String] host_id id of host
55
61
  # @option params [String] hostgroup_id id of hostgroup
62
+ # @option params [String] location_id id of location
56
63
  # @option params [String] operatingsystem_id id of operating system
57
- # @option params [Hash] parameter
64
+ # @option params [String] organization_id id of organization
65
+ # @option params [Hash, nil] parameter
58
66
  # allowed keys are:
59
67
  # * name [String]
60
68
  # * value [String]
@@ -70,7 +78,9 @@ module ForemanApi
70
78
  # @option params [String] domain_id id of domain
71
79
  # @option params [String] host_id id of host
72
80
  # @option params [String] hostgroup_id id of hostgroup
81
+ # @option params [String] location_id id of location
73
82
  # @option params [String] operatingsystem_id id of operating system
83
+ # @option params [String] organization_id id of organization
74
84
  #
75
85
  # @param [Hash] headers additional http headers
76
86
  # @return [Array] First item: parsed data; second item: raw body
@@ -79,10 +89,12 @@ module ForemanApi
79
89
  end
80
90
 
81
91
  # @param [Hash] params a hash of params to be passed to the service
82
- # @option params [Object] domain_id Part of +/api/domains/:domain_id/parameters+ path
83
- # @option params [Object] host_id Part of +/api/hosts/:host_id/parameters+ path
84
- # @option params [Object] hostgroup_id Part of +/api/hostgroups/:hostgroup_id/parameters+ path
85
- # @option params [Object] operatingsystem_id Part of +/api/operatingsystems/:operatingsystem_id/parameters+ path
92
+ # @option params [String] domain_id id of domain
93
+ # @option params [String] host_id id of host
94
+ # @option params [String] hostgroup_id id of hostgroup
95
+ # @option params [String] location_id id of location
96
+ # @option params [String] operatingsystem_id id of operating system
97
+ # @option params [String] organization_id id of organization
86
98
  #
87
99
  # @param [Hash] headers additional http headers
88
100
  # @return [Array] First item: parsed data; second item: raw body
@@ -27,11 +27,11 @@ module ForemanApi
27
27
  end
28
28
 
29
29
  # @param [Hash] params a hash of params to be passed to the service
30
- # @option params [Hash] ptable
30
+ # @option params [Hash, nil] ptable
31
31
  # allowed keys are:
32
32
  # * layout [String]
33
33
  # * name [String]
34
- # * os_family [String]
34
+ # * os_family [String, nil]
35
35
  #
36
36
  # @param [Hash] headers additional http headers
37
37
  # @return [Array] First item: parsed data; second item: raw body
@@ -41,11 +41,11 @@ module ForemanApi
41
41
 
42
42
  # @param [Hash] params a hash of params to be passed to the service
43
43
  # @option params [String] id
44
- # @option params [Hash] ptable
44
+ # @option params [Hash, nil] ptable
45
45
  # allowed keys are:
46
46
  # * layout [String]
47
47
  # * name [String]
48
- # * os_family [String]
48
+ # * os_family [String, nil]
49
49
  #
50
50
  # @param [Hash] headers additional http headers
51
51
  # @return [Array] First item: parsed data; second item: raw body
@@ -33,7 +33,7 @@ module ForemanApi
33
33
  end
34
34
 
35
35
  # @param [Hash] params a hash of params to be passed to the service
36
- # @option params [Hash] puppetclass
36
+ # @option params [Hash, nil] puppetclass
37
37
  # allowed keys are:
38
38
  # * name [String]
39
39
  #
@@ -45,7 +45,7 @@ module ForemanApi
45
45
 
46
46
  # @param [Hash] params a hash of params to be passed to the service
47
47
  # @option params [String] id
48
- # @option params [Hash] puppetclass
48
+ # @option params [Hash, nil] puppetclass
49
49
  # allowed keys are:
50
50
  # * name [String]
51
51
  #