Class: SfCli::Sf::Data::Resume::JobInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/sf_cli/sf/data/resume.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#apexProcessingTimeObject

Returns the value of attribute apexProcessingTime

Returns:

  • (Object)

    the current value of apexProcessingTime



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def apexProcessingTime
  @apexProcessingTime
end

#apiActiveProcessingTimeObject

Returns the value of attribute apiActiveProcessingTime

Returns:

  • (Object)

    the current value of apiActiveProcessingTime



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def apiActiveProcessingTime
  @apiActiveProcessingTime
end

#apiVersionObject

Returns the value of attribute apiVersion

Returns:

  • (Object)

    the current value of apiVersion



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def apiVersion
  @apiVersion
end

#concurrencyModeObject

Returns the value of attribute concurrencyMode

Returns:

  • (Object)

    the current value of concurrencyMode



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def concurrencyMode
  @concurrencyMode
end

#contentTypeObject

Returns the value of attribute contentType

Returns:

  • (Object)

    the current value of contentType



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def contentType
  @contentType
end

#createdByIdObject

Returns the value of attribute createdById

Returns:

  • (Object)

    the current value of createdById



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def createdById
  @createdById
end

#createdDateObject

Returns the value of attribute createdDate

Returns:

  • (Object)

    the current value of createdDate



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def createdDate
  @createdDate
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def id
  @id
end

#numberBatchesCompletedObject

Returns the value of attribute numberBatchesCompleted

Returns:

  • (Object)

    the current value of numberBatchesCompleted



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberBatchesCompleted
  @numberBatchesCompleted
end

#numberBatchesFailedObject

Returns the value of attribute numberBatchesFailed

Returns:

  • (Object)

    the current value of numberBatchesFailed



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberBatchesFailed
  @numberBatchesFailed
end

#numberBatchesInProgressObject

Returns the value of attribute numberBatchesInProgress

Returns:

  • (Object)

    the current value of numberBatchesInProgress



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberBatchesInProgress
  @numberBatchesInProgress
end

#numberBatchesQueuedObject

Returns the value of attribute numberBatchesQueued

Returns:

  • (Object)

    the current value of numberBatchesQueued



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberBatchesQueued
  @numberBatchesQueued
end

#numberBatchesTotalObject

Returns the value of attribute numberBatchesTotal

Returns:

  • (Object)

    the current value of numberBatchesTotal



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberBatchesTotal
  @numberBatchesTotal
end

#numberRecordsFailedObject

Returns the value of attribute numberRecordsFailed

Returns:

  • (Object)

    the current value of numberRecordsFailed



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberRecordsFailed
  @numberRecordsFailed
end

#numberRecordsProcessedObject

Returns the value of attribute numberRecordsProcessed

Returns:

  • (Object)

    the current value of numberRecordsProcessed



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberRecordsProcessed
  @numberRecordsProcessed
end

#numberRetriesObject

Returns the value of attribute numberRetries

Returns:

  • (Object)

    the current value of numberRetries



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def numberRetries
  @numberRetries
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def object
  @object
end

#operationObject

Returns the value of attribute operation

Returns:

  • (Object)

    the current value of operation



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def operation
  @operation
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def state
  @state
end

#systemModstampObject

Returns the value of attribute systemModstamp

Returns:

  • (Object)

    the current value of systemModstamp



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def systemModstamp
  @systemModstamp
end

#totalProcessingTimeObject

Returns the value of attribute totalProcessingTime

Returns:

  • (Object)

    the current value of totalProcessingTime



3
4
5
# File 'lib/sf_cli/sf/data/resume.rb', line 3

def totalProcessingTime
  @totalProcessingTime
end

Instance Method Details

#aborted?Boolean

Returns:

  • (Boolean)


46
47
48
# File 'lib/sf_cli/sf/data/resume.rb', line 46

def aborted?
  state == 'Aborted'
end

#completed?Boolean

Returns:

  • (Boolean)


38
39
40
# File 'lib/sf_cli/sf/data/resume.rb', line 38

def completed?
  state == 'JobComplete'
end

#failed?Boolean

Returns:

  • (Boolean)


42
43
44
# File 'lib/sf_cli/sf/data/resume.rb', line 42

def failed?
  state == 'Failed'
end

#in_progress?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/sf_cli/sf/data/resume.rb', line 34

def in_progress?
  state == 'InProgress'
end

#opened?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/sf_cli/sf/data/resume.rb', line 26

def opened?
  state == 'Open'
end

#upload_completed?Boolean

Returns:

  • (Boolean)


30
31
32
# File 'lib/sf_cli/sf/data/resume.rb', line 30

def upload_completed?
  state == 'UploadComplete'
end