lib/dkron-ruby/models/job.rb in dkron-ruby-1.0.0 vs lib/dkron-ruby/models/job.rb in dkron-ruby-3.0.0
- old
+ new
@@ -1,22 +1,22 @@
=begin
#Dkron REST API
-#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
+#You can communicate with Dkron using a RESTful JSON API over HTTP. Dkron nodes usually listen on port `8080` for API requests. All examples in this section assume that you've found a running leader at `localhost:8080`. Dkron implements a RESTful JSON API over HTTP to communicate with software clients. Dkron listens in port `8080` by default. All examples in this section assume that you're using the default port. Default API responses are unformatted JSON add the `pretty=true` param to format the response.
-OpenAPI spec version: 2.2
+OpenAPI spec version: 1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
-Swagger Codegen version: 2.4.13
+Swagger Codegen version: 2.4.17
=end
require 'date'
module Dkron
# A Job represents a scheduled task to execute.
class Job
- # Name for the job.
+ # Name for the job. Use only lower case letters (unicode), digits, underscore and dash.
attr_accessor :name
# Nice name for the job. Optional.
attr_accessor :displayname