Class: Nfe::Generated::Nfeio::StartProcessingJobRequest
- Inherits:
-
Data
- Object
- Data
- Nfe::Generated::Nfeio::StartProcessingJobRequest
- Defined in:
- lib/nfe/generated/nfeio/start_processing_job_request.rb,
sig/nfe/generated/nfeio/start_processing_job_request.rbs
Instance Attribute Summary collapse
-
#created_by ⇒ Object
readonly
Returns the value of attribute created_by.
-
#environment ⇒ Object
readonly
Returns the value of attribute environment.
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ StartProcessingJobRequest
constructor
A new instance of StartProcessingJobRequest.
Constructor Details
#initialize ⇒ StartProcessingJobRequest
Returns a new instance of StartProcessingJobRequest.
15 |
# File 'sig/nfe/generated/nfeio/start_processing_job_request.rbs', line 15
def initialize: (?created_by: String?, ?environment: untyped, ?input: InputInfoRequest, ?name: String?, ?resource: ResourceInfoRequest) -> void
|
Instance Attribute Details
#created_by ⇒ Object (readonly)
Returns the value of attribute created_by
9 10 11 |
# File 'lib/nfe/generated/nfeio/start_processing_job_request.rb', line 9 def created_by @created_by end |
#environment ⇒ Object (readonly)
Returns the value of attribute environment
9 10 11 |
# File 'lib/nfe/generated/nfeio/start_processing_job_request.rb', line 9 def environment @environment end |
#input ⇒ Object (readonly)
Returns the value of attribute input
9 10 11 |
# File 'lib/nfe/generated/nfeio/start_processing_job_request.rb', line 9 def input @input end |
#name ⇒ Object (readonly)
Returns the value of attribute name
9 10 11 |
# File 'lib/nfe/generated/nfeio/start_processing_job_request.rb', line 9 def name @name end |
#resource ⇒ Object (readonly)
Returns the value of attribute resource
9 10 11 |
# File 'lib/nfe/generated/nfeio/start_processing_job_request.rb', line 9 def resource @resource end |
Class Method Details
.from_api(payload) ⇒ instance?
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/nfe/generated/nfeio/start_processing_job_request.rb', line 10 def self.from_api(payload) return nil if payload.nil? new( created_by: payload["createdBy"], environment: payload["environment"], input: InputInfoRequest.from_api(payload["input"]), name: payload["name"], resource: ResourceInfoRequest.from_api(payload["resource"]), ) end |
.new ⇒ instance
14 |
# File 'sig/nfe/generated/nfeio/start_processing_job_request.rbs', line 14
def self.new: (?created_by: String?, ?environment: untyped, ?input: InputInfoRequest, ?name: String?, ?resource: ResourceInfoRequest) -> instance
|