Sha256: f68db1c5de7586ce171057168bcaae686eeddaf17c9322749ab6c78d0e5c6a87

Contents?: true

Size: 1.79 KB

Versions: 1

Compression:

Stored size: 1.79 KB

Contents

# typed: true
module UpGush
  module Models
    class Workflow

      sig { returns(UpGush::Models::WorkflowStep::PrivateRelation) }
      def steps; end

      sig { returns(String) }
      def name; end

      sig { returns(T.nilable(String)) }
      def up_doc_ref; end

      sig { returns(T.nilable(String)) }
      def redis_workflow_id; end

      sig { returns(T.nilable(Integer)) }
      def enterprise_id; end

      sig { returns(T.nilable(Integer)) }
      def draft_document_id; end

      sig { returns(T.nilable(ActiveRecord::Base)) }
      def draft_document; end

      sig { returns(T.nilable(String)) }
      def rerun_workflow_id; end

      sig { returns(String) }
      def project; end

      sig { returns(String) }
      def queue; end

      sig { returns(T.nilable(T::Hash[T.untyped, T.untyped])) }
      def payload; end

      sig { returns(String) }
      def status; end

      sig { returns(T.nilable(Time)) }
      def finished_at; end

      sig { returns(T.nilable(Time)) }
      def started_at; end

      sig { returns(T::Boolean) }
      def status_changed?; end

      sig { params(value: String).void }
      def project=(value); end

      sig { params(value: T.any(Symbol, String)).void }
      def queue=(value); end

      sig { returns(T::Boolean) }
      def stopped; end

      sig { returns(T.nilable(String)) }
      def first_job_to_execute; end

      sig { params(value: String).void }
      def status=(value); end

      sig { params(value: Time).void }
      def finished_at=(value); end

      sig { returns(T.nilable(String)) }
      def backend; end

      sig { params(value: T.nilable(String)).void }
      def backend=(value); end

      sig { returns(DateTime) }
      def created_at; end

      sig { returns(DateTime) }
      def updated_at; end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
up_gush-3.0.0.1 sorbet/rbi/models/workflow.rbi