Class: SupportOps::GitLab::Jobs

Inherits:
Base
  • Object
show all
Defined in:
lib/support_ops_gitlab/gitlab/jobs.rb

Overview

TODO:

Document meaning of attributes

Defines the class Jobs within the module SupportOps::GitLab.

Author:

  • Jason Colyer

Since:

  • 1.0.0

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#activate!, #approve!, attributes, #badges, #ban!, #block!, client, #client=, #commits, configure, #contributors, #create_support_pin!, #deactivate!, define_attributes, #delete!, #disable_2fa!, #discussions, #emails, #encoded_path, #events, #find, #find!, #gpg_keys, #hard_delete!, #impersonations, #initialize, #issues, #jobs, #latest_pipeline, #members, #memberships, #merge_requests, #move!, #notes, #paid?, #pats, #pipeline_variables, #pipelines, #preferences, #projects, readonly_attributes, #reject!, #revoke!, #rotate!, #save!, #ssh_keys, #store_original_attributes, #subscribe!, #support_pin, to_hash, #tokens, #unban!, #unblock!, #unsubscribe!, #webhooks

Constructor Details

This class inherits a constructor from SupportOps::GitLab::Base

Instance Attribute Details

#allow_failure ⇒ Boolean

Returns the current value of allow_failure.

Returns:

  • (Boolean) —

    the current value of allow_failure



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def allow_failure
  @allow_failure
end

#archived ⇒ Boolean

Returns the current value of archived.

Returns:

  • (Boolean) —

    the current value of archived



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def archived
  @archived
end

#artifacts ⇒ Array

Returns the current value of artifacts.

Returns:

  • (Array) —

    the current value of artifacts



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def artifacts
  @artifacts
end

#artifacts_expire_at ⇒ String

Returns the current value of artifacts_expire_at.

Returns:

  • (String) —

    the current value of artifacts_expire_at



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def artifacts_expire_at
  @artifacts_expire_at
end

#artifacts_file ⇒ Hash

Returns the current value of artifacts_file.

Returns:

  • (Hash) —

    the current value of artifacts_file



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def artifacts_file
  @artifacts_file
end

#commit ⇒ Hash

Returns the current value of commit.

Returns:

  • (Hash) —

    the current value of commit



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def commit
  @commit
end

#coverage ⇒ String

Returns the current value of coverage.

Returns:

  • (String) —

    the current value of coverage



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def coverage
  @coverage
end

#created_at ⇒ String

Returns the current value of created_at.

Returns:

  • (String) —

    the current value of created_at



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def created_at
  @created_at
end

#duration ⇒ String

Returns the current value of duration.

Returns:

  • (String) —

    the current value of duration



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def duration
  @duration
end

#erased_at ⇒ String

Returns the current value of erased_at.

Returns:

  • (String) —

    the current value of erased_at



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def erased_at
  @erased_at
end

#failure_reason ⇒ String

Returns the current value of failure_reason.

Returns:

  • (String) —

    the current value of failure_reason



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def failure_reason
  @failure_reason
end

#finished_at ⇒ String

Returns the current value of finished_at.

Returns:

  • (String) —

    the current value of finished_at



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def finished_at
  @finished_at
end

#id ⇒ Integer

Returns the current value of id.

Returns:

  • (Integer) —

    the current value of id



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def id
  @id
end

#name ⇒ String

Returns the current value of name.

Returns:

  • (String) —

    the current value of name



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def name
  @name
end

#pipeline ⇒ Hash

Returns the current value of pipeline.

Returns:

  • (Hash) —

    the current value of pipeline



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def pipeline
  @pipeline
end

#project ⇒ Hash

Returns the current value of project.

Returns:

  • (Hash) —

    the current value of project



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def project
  @project
end

#queued_duration ⇒ String

Returns the current value of queued_duration.

Returns:

  • (String) —

    the current value of queued_duration



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def queued_duration
  @queued_duration
end

#ref ⇒ String

Returns the current value of ref.

Returns:

  • (String) —

    the current value of ref



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def ref
  @ref
end

#runner ⇒ Hash

Returns the current value of runner.

Returns:

  • (Hash) —

    the current value of runner



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def runner
  @runner
end

#runner_manager ⇒ Hash

Returns the current value of runner_manager.

Returns:

  • (Hash) —

    the current value of runner_manager



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def runner_manager
  @runner_manager
end

#source ⇒ String

Returns the current value of source.

Returns:

  • (String) —

    the current value of source



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def source
  @source
end

#stage ⇒ String

Returns the current value of stage.

Returns:

  • (String) —

    the current value of stage



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def stage
  @stage
end

#started_at ⇒ String

Returns the current value of started_at.

Returns:

  • (String) —

    the current value of started_at



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def started_at
  @started_at
end

#status ⇒ String

Returns the current value of status.

Returns:

  • (String) —

    the current value of status



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def status
  @status
end

#tag ⇒ String

Returns the current value of tag.

Returns:

  • (String) —

    the current value of tag



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def tag
  @tag
end

#tag_list ⇒ Array

Returns the current value of tag_list.

Returns:

  • (Array) —

    the current value of tag_list



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def tag_list
  @tag_list
end

#user ⇒ Hash

Returns the current value of user.

Returns:

  • (Hash) —

    the current value of user



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def user
  @user
end

#web_url ⇒ String

Returns the current value of web_url.

Returns:

  • (String) —

    the current value of web_url



42
43
44
# File 'lib/support_ops_gitlab/gitlab/jobs.rb', line 42

def web_url
  @web_url
end