Class: Cadenya::Types::PauseAgentScheduleRequest
- Inherits:
-
Object
- Object
- Cadenya::Types::PauseAgentScheduleRequest
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#agent_id ⇒ Object
readonly
Returns the value of attribute agent_id.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#workspace_id ⇒ Object
readonly
Returns the value of attribute workspace_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(workspace_id: nil, agent_id: nil, id: nil) ⇒ PauseAgentScheduleRequest
constructor
A new instance of PauseAgentScheduleRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(workspace_id: nil, agent_id: nil, id: nil) ⇒ PauseAgentScheduleRequest
Returns a new instance of PauseAgentScheduleRequest.
4585 4586 4587 4588 4589 |
# File 'lib/cadenya/types.rb', line 4585 def initialize(workspace_id: nil, agent_id: nil, id: nil) @workspace_id = workspace_id @agent_id = agent_id @id = id end |
Instance Attribute Details
#agent_id ⇒ Object (readonly)
Returns the value of attribute agent_id.
4583 4584 4585 |
# File 'lib/cadenya/types.rb', line 4583 def agent_id @agent_id end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4583 4584 4585 |
# File 'lib/cadenya/types.rb', line 4583 def id @id end |
#workspace_id ⇒ Object (readonly)
Returns the value of attribute workspace_id.
4583 4584 4585 |
# File 'lib/cadenya/types.rb', line 4583 def workspace_id @workspace_id end |
Class Method Details
.from_json(data) ⇒ Object
4591 4592 4593 4594 4595 4596 4597 |
# File 'lib/cadenya/types.rb', line 4591 def self.from_json(data) new( workspace_id: data["workspaceId"], agent_id: data["agentId"], id: data["id"], ) end |