swaggy_jenkins 3.0.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +23 -21
- data/README.md +6 -6
- data/bin/bundle +1 -1
- data/bin/byebug +1 -1
- data/bin/coderay +1 -1
- data/bin/htmldiff +1 -1
- data/bin/ldiff +1 -1
- data/bin/pry +1 -1
- data/bin/racc +1 -1
- data/bin/rake +1 -1
- data/bin/rspec +1 -1
- data/bin/rubocop +1 -1
- data/bin/ruby-parse +1 -1
- data/bin/ruby-rewrite +1 -1
- data/lib/swaggy_jenkins/api/base_api.rb +3 -3
- data/lib/swaggy_jenkins/api/blue_ocean_api.rb +38 -38
- data/lib/swaggy_jenkins/api/remote_access_api.rb +15 -15
- data/lib/swaggy_jenkins/api_client.rb +11 -12
- data/lib/swaggy_jenkins/api_error.rb +2 -2
- data/lib/swaggy_jenkins/configuration.rb +13 -3
- data/lib/swaggy_jenkins/models/all_view.rb +11 -5
- data/lib/swaggy_jenkins/models/branch_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/branch_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/branch_implpermissions.rb +11 -5
- data/lib/swaggy_jenkins/models/cause_action.rb +11 -5
- data/lib/swaggy_jenkins/models/cause_user_id_cause.rb +11 -5
- data/lib/swaggy_jenkins/models/classes_by_class.rb +11 -5
- data/lib/swaggy_jenkins/models/clock_difference.rb +11 -5
- data/lib/swaggy_jenkins/models/computer_set.rb +11 -5
- data/lib/swaggy_jenkins/models/default_crumb_issuer.rb +11 -5
- data/lib/swaggy_jenkins/models/disk_space_monitor_descriptor_disk_space.rb +11 -5
- data/lib/swaggy_jenkins/models/empty_change_log_set.rb +11 -5
- data/lib/swaggy_jenkins/models/extension_class_container_impl1.rb +11 -5
- data/lib/swaggy_jenkins/models/extension_class_container_impl1links.rb +11 -5
- data/lib/swaggy_jenkins/models/extension_class_container_impl1map.rb +11 -5
- data/lib/swaggy_jenkins/models/extension_class_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/extension_class_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/favorite_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/favorite_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/free_style_build.rb +11 -5
- data/lib/swaggy_jenkins/models/free_style_project.rb +11 -5
- data/lib/swaggy_jenkins/models/free_style_projectactions.rb +11 -5
- data/lib/swaggy_jenkins/models/free_style_projecthealth_report.rb +11 -5
- data/lib/swaggy_jenkins/models/generic_resource.rb +11 -5
- data/lib/swaggy_jenkins/models/github_content.rb +11 -5
- data/lib/swaggy_jenkins/models/github_file.rb +11 -5
- data/lib/swaggy_jenkins/models/github_organization.rb +11 -5
- data/lib/swaggy_jenkins/models/github_organizationlinks.rb +11 -5
- data/lib/swaggy_jenkins/models/github_repositories.rb +11 -5
- data/lib/swaggy_jenkins/models/github_repositorieslinks.rb +11 -5
- data/lib/swaggy_jenkins/models/github_repository.rb +11 -5
- data/lib/swaggy_jenkins/models/github_repositorylinks.rb +11 -5
- data/lib/swaggy_jenkins/models/github_repositorypermissions.rb +11 -5
- data/lib/swaggy_jenkins/models/github_respository_container.rb +11 -5
- data/lib/swaggy_jenkins/models/github_respository_containerlinks.rb +11 -5
- data/lib/swaggy_jenkins/models/github_scm.rb +11 -5
- data/lib/swaggy_jenkins/models/github_scmlinks.rb +11 -5
- data/lib/swaggy_jenkins/models/hudson.rb +11 -5
- data/lib/swaggy_jenkins/models/hudson_master_computer.rb +11 -5
- data/lib/swaggy_jenkins/models/hudson_master_computerexecutors.rb +11 -5
- data/lib/swaggy_jenkins/models/hudson_master_computermonitor_data.rb +11 -5
- data/lib/swaggy_jenkins/models/hudsonassigned_labels.rb +11 -5
- data/lib/swaggy_jenkins/models/input_step_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/input_step_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/label1.rb +11 -5
- data/lib/swaggy_jenkins/models/link.rb +11 -5
- data/lib/swaggy_jenkins/models/list_view.rb +11 -5
- data/lib/swaggy_jenkins/models/multibranch_pipeline.rb +11 -5
- data/lib/swaggy_jenkins/models/null_scm.rb +11 -5
- data/lib/swaggy_jenkins/models/organisation.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_activity.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_activityartifacts.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_branchesitem.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_branchesitemlatest_run.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_request.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_branchesitempull_requestlinks.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_folder_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_run.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_run_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_run_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_run_node.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_run_nodeedges.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_runartifacts.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_step_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/pipeline_step_impllinks.rb +11 -5
- data/lib/swaggy_jenkins/models/pipelinelatest_run.rb +11 -5
- data/lib/swaggy_jenkins/models/pipelinelatest_runartifacts.rb +11 -5
- data/lib/swaggy_jenkins/models/queue.rb +11 -5
- data/lib/swaggy_jenkins/models/queue_blocked_item.rb +11 -5
- data/lib/swaggy_jenkins/models/queue_item_impl.rb +11 -5
- data/lib/swaggy_jenkins/models/queue_left_item.rb +11 -5
- data/lib/swaggy_jenkins/models/response_time_monitor_data.rb +11 -5
- data/lib/swaggy_jenkins/models/string_parameter_definition.rb +11 -5
- data/lib/swaggy_jenkins/models/string_parameter_value.rb +11 -5
- data/lib/swaggy_jenkins/models/swap_space_monitor_memory_usage2.rb +11 -5
- data/lib/swaggy_jenkins/models/unlabeled_load_statistics.rb +11 -5
- data/lib/swaggy_jenkins/models/user.rb +11 -5
- data/lib/swaggy_jenkins/version.rb +3 -3
- data/lib/swaggy_jenkins.rb +2 -2
- data/spec/api/base_api_spec.rb +2 -2
- data/spec/api/blue_ocean_api_spec.rb +2 -2
- data/spec/api/remote_access_api_spec.rb +2 -2
- data/spec/models/all_view_spec.rb +2 -2
- data/spec/models/branch_impl_spec.rb +2 -2
- data/spec/models/branch_impllinks_spec.rb +2 -2
- data/spec/models/branch_implpermissions_spec.rb +2 -2
- data/spec/models/cause_action_spec.rb +2 -2
- data/spec/models/cause_user_id_cause_spec.rb +2 -2
- data/spec/models/classes_by_class_spec.rb +2 -2
- data/spec/models/clock_difference_spec.rb +2 -2
- data/spec/models/computer_set_spec.rb +2 -2
- data/spec/models/default_crumb_issuer_spec.rb +2 -2
- data/spec/models/disk_space_monitor_descriptor_disk_space_spec.rb +2 -2
- data/spec/models/empty_change_log_set_spec.rb +2 -2
- data/spec/models/extension_class_container_impl1_spec.rb +2 -2
- data/spec/models/extension_class_container_impl1links_spec.rb +2 -2
- data/spec/models/extension_class_container_impl1map_spec.rb +2 -2
- data/spec/models/extension_class_impl_spec.rb +2 -2
- data/spec/models/extension_class_impllinks_spec.rb +2 -2
- data/spec/models/favorite_impl_spec.rb +2 -2
- data/spec/models/favorite_impllinks_spec.rb +2 -2
- data/spec/models/free_style_build_spec.rb +2 -2
- data/spec/models/free_style_project_spec.rb +2 -2
- data/spec/models/free_style_projectactions_spec.rb +2 -2
- data/spec/models/free_style_projecthealth_report_spec.rb +2 -2
- data/spec/models/generic_resource_spec.rb +2 -2
- data/spec/models/github_content_spec.rb +2 -2
- data/spec/models/github_file_spec.rb +2 -2
- data/spec/models/github_organization_spec.rb +2 -2
- data/spec/models/github_organizationlinks_spec.rb +2 -2
- data/spec/models/github_repositories_spec.rb +2 -2
- data/spec/models/github_repositorieslinks_spec.rb +2 -2
- data/spec/models/github_repository_spec.rb +2 -2
- data/spec/models/github_repositorylinks_spec.rb +2 -2
- data/spec/models/github_repositorypermissions_spec.rb +2 -2
- data/spec/models/github_respository_container_spec.rb +2 -2
- data/spec/models/github_respository_containerlinks_spec.rb +2 -2
- data/spec/models/github_scm_spec.rb +2 -2
- data/spec/models/github_scmlinks_spec.rb +2 -2
- data/spec/models/hudson_master_computer_spec.rb +2 -2
- data/spec/models/hudson_master_computerexecutors_spec.rb +2 -2
- data/spec/models/hudson_master_computermonitor_data_spec.rb +2 -2
- data/spec/models/hudson_spec.rb +2 -2
- data/spec/models/hudsonassigned_labels_spec.rb +2 -2
- data/spec/models/input_step_impl_spec.rb +2 -2
- data/spec/models/input_step_impllinks_spec.rb +2 -2
- data/spec/models/label1_spec.rb +2 -2
- data/spec/models/link_spec.rb +2 -2
- data/spec/models/list_view_spec.rb +2 -2
- data/spec/models/multibranch_pipeline_spec.rb +2 -2
- data/spec/models/null_scm_spec.rb +2 -2
- data/spec/models/organisation_spec.rb +2 -2
- data/spec/models/pipeline_activity_spec.rb +2 -2
- data/spec/models/pipeline_activityartifacts_spec.rb +2 -2
- data/spec/models/pipeline_branchesitem_spec.rb +2 -2
- data/spec/models/pipeline_branchesitemlatest_run_spec.rb +2 -2
- data/spec/models/pipeline_branchesitempull_request_spec.rb +2 -2
- data/spec/models/pipeline_branchesitempull_requestlinks_spec.rb +2 -2
- data/spec/models/pipeline_folder_impl_spec.rb +2 -2
- data/spec/models/pipeline_impl_spec.rb +2 -2
- data/spec/models/pipeline_impllinks_spec.rb +2 -2
- data/spec/models/pipeline_run_impl_spec.rb +2 -2
- data/spec/models/pipeline_run_impllinks_spec.rb +2 -2
- data/spec/models/pipeline_run_node_spec.rb +2 -2
- data/spec/models/pipeline_run_nodeedges_spec.rb +2 -2
- data/spec/models/pipeline_run_spec.rb +2 -2
- data/spec/models/pipeline_runartifacts_spec.rb +2 -2
- data/spec/models/pipeline_spec.rb +2 -2
- data/spec/models/pipeline_step_impl_spec.rb +2 -2
- data/spec/models/pipeline_step_impllinks_spec.rb +2 -2
- data/spec/models/pipelinelatest_run_spec.rb +2 -2
- data/spec/models/pipelinelatest_runartifacts_spec.rb +2 -2
- data/spec/models/queue_blocked_item_spec.rb +2 -2
- data/spec/models/queue_item_impl_spec.rb +2 -2
- data/spec/models/queue_left_item_spec.rb +2 -2
- data/spec/models/queue_spec.rb +2 -2
- data/spec/models/response_time_monitor_data_spec.rb +2 -2
- data/spec/models/string_parameter_definition_spec.rb +2 -2
- data/spec/models/string_parameter_value_spec.rb +2 -2
- data/spec/models/swap_space_monitor_memory_usage2_spec.rb +2 -2
- data/spec/models/unlabeled_load_statistics_spec.rb +2 -2
- data/spec/models/user_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -2
- data/swaggy_jenkins.gemspec +2 -2
- metadata +72 -72
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -60,9 +60,14 @@ module SwaggyJenkinsClient
|
|
60
60
|
}
|
61
61
|
end
|
62
62
|
|
63
|
+
# Returns attribute mapping this model knows about
|
64
|
+
def self.acceptable_attribute_map
|
65
|
+
attribute_map
|
66
|
+
end
|
67
|
+
|
63
68
|
# Returns all the JSON keys this model knows about
|
64
69
|
def self.acceptable_attributes
|
65
|
-
|
70
|
+
acceptable_attribute_map.values
|
66
71
|
end
|
67
72
|
|
68
73
|
# Attribute type mapping.
|
@@ -98,9 +103,10 @@ module SwaggyJenkinsClient
|
|
98
103
|
end
|
99
104
|
|
100
105
|
# check to see if the attribute exists and convert string to symbol for hash key
|
106
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
101
107
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
102
|
-
if (!
|
103
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::QueueLeftItem`. Please check the name to make sure it's valid. List of attributes: " +
|
108
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
109
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::QueueLeftItem`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
104
110
|
end
|
105
111
|
h[k.to_sym] = v
|
106
112
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,9 +30,14 @@ module SwaggyJenkinsClient
|
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
33
|
+
# Returns attribute mapping this model knows about
|
34
|
+
def self.acceptable_attribute_map
|
35
|
+
attribute_map
|
36
|
+
end
|
37
|
+
|
33
38
|
# Returns all the JSON keys this model knows about
|
34
39
|
def self.acceptable_attributes
|
35
|
-
|
40
|
+
acceptable_attribute_map.values
|
36
41
|
end
|
37
42
|
|
38
43
|
# Attribute type mapping.
|
@@ -58,9 +63,10 @@ module SwaggyJenkinsClient
|
|
58
63
|
end
|
59
64
|
|
60
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
66
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
61
67
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
|
-
if (!
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::ResponseTimeMonitorData`. Please check the name to make sure it's valid. List of attributes: " +
|
68
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::ResponseTimeMonitorData`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
70
|
end
|
65
71
|
h[k.to_sym] = v
|
66
72
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,9 +36,14 @@ module SwaggyJenkinsClient
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -66,9 +71,10 @@ module SwaggyJenkinsClient
|
|
66
71
|
end
|
67
72
|
|
68
73
|
# check to see if the attribute exists and convert string to symbol for hash key
|
74
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
69
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
70
|
-
if (!
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::StringParameterDefinition`. Please check the name to make sure it's valid. List of attributes: " +
|
76
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::StringParameterDefinition`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
72
78
|
end
|
73
79
|
h[k.to_sym] = v
|
74
80
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -30,9 +30,14 @@ module SwaggyJenkinsClient
|
|
30
30
|
}
|
31
31
|
end
|
32
32
|
|
33
|
+
# Returns attribute mapping this model knows about
|
34
|
+
def self.acceptable_attribute_map
|
35
|
+
attribute_map
|
36
|
+
end
|
37
|
+
|
33
38
|
# Returns all the JSON keys this model knows about
|
34
39
|
def self.acceptable_attributes
|
35
|
-
|
40
|
+
acceptable_attribute_map.values
|
36
41
|
end
|
37
42
|
|
38
43
|
# Attribute type mapping.
|
@@ -58,9 +63,10 @@ module SwaggyJenkinsClient
|
|
58
63
|
end
|
59
64
|
|
60
65
|
# check to see if the attribute exists and convert string to symbol for hash key
|
66
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
61
67
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
62
|
-
if (!
|
63
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::StringParameterValue`. Please check the name to make sure it's valid. List of attributes: " +
|
68
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
69
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::StringParameterValue`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
64
70
|
end
|
65
71
|
h[k.to_sym] = v
|
66
72
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,9 +36,14 @@ module SwaggyJenkinsClient
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -66,9 +71,10 @@ module SwaggyJenkinsClient
|
|
66
71
|
end
|
67
72
|
|
68
73
|
# check to see if the attribute exists and convert string to symbol for hash key
|
74
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
69
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
70
|
-
if (!
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::SwapSpaceMonitorMemoryUsage2`. Please check the name to make sure it's valid. List of attributes: " +
|
76
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::SwapSpaceMonitorMemoryUsage2`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
72
78
|
end
|
73
79
|
h[k.to_sym] = v
|
74
80
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -24,9 +24,14 @@ module SwaggyJenkinsClient
|
|
24
24
|
}
|
25
25
|
end
|
26
26
|
|
27
|
+
# Returns attribute mapping this model knows about
|
28
|
+
def self.acceptable_attribute_map
|
29
|
+
attribute_map
|
30
|
+
end
|
31
|
+
|
27
32
|
# Returns all the JSON keys this model knows about
|
28
33
|
def self.acceptable_attributes
|
29
|
-
|
34
|
+
acceptable_attribute_map.values
|
30
35
|
end
|
31
36
|
|
32
37
|
# Attribute type mapping.
|
@@ -50,9 +55,10 @@ module SwaggyJenkinsClient
|
|
50
55
|
end
|
51
56
|
|
52
57
|
# check to see if the attribute exists and convert string to symbol for hash key
|
58
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
53
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
-
if (!
|
55
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::UnlabeledLoadStatistics`. Please check the name to make sure it's valid. List of attributes: " +
|
60
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::UnlabeledLoadStatistics`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
56
62
|
end
|
57
63
|
h[k.to_sym] = v
|
58
64
|
}
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -36,9 +36,14 @@ module SwaggyJenkinsClient
|
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
39
|
+
# Returns attribute mapping this model knows about
|
40
|
+
def self.acceptable_attribute_map
|
41
|
+
attribute_map
|
42
|
+
end
|
43
|
+
|
39
44
|
# Returns all the JSON keys this model knows about
|
40
45
|
def self.acceptable_attributes
|
41
|
-
|
46
|
+
acceptable_attribute_map.values
|
42
47
|
end
|
43
48
|
|
44
49
|
# Attribute type mapping.
|
@@ -66,9 +71,10 @@ module SwaggyJenkinsClient
|
|
66
71
|
end
|
67
72
|
|
68
73
|
# check to see if the attribute exists and convert string to symbol for hash key
|
74
|
+
acceptable_attribute_map = self.class.acceptable_attribute_map
|
69
75
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
70
|
-
if (!
|
71
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::User`. Please check the name to make sure it's valid. List of attributes: " +
|
76
|
+
if (!acceptable_attribute_map.key?(k.to_sym))
|
77
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `SwaggyJenkinsClient::User`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
72
78
|
end
|
73
79
|
h[k.to_sym] = v
|
74
80
|
}
|
@@ -3,13 +3,13 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
13
13
|
module SwaggyJenkinsClient
|
14
|
-
VERSION = '3.0
|
14
|
+
VERSION = '3.1.0'
|
15
15
|
end
|
data/lib/swaggy_jenkins.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
data/spec/api/base_api_spec.rb
CHANGED
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|
@@ -3,10 +3,10 @@
|
|
3
3
|
|
4
4
|
#Jenkins API clients generated from Swagger / Open API specification
|
5
5
|
|
6
|
-
The version of the OpenAPI document: 3.0
|
6
|
+
The version of the OpenAPI document: 3.1.0
|
7
7
|
Contact: blah+oapicf@cliffano.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
|
-
Generator version: 7.
|
9
|
+
Generator version: 7.12.0
|
10
10
|
|
11
11
|
=end
|
12
12
|
|