Class: Cadenya::Types::ResumeAgentScheduleRequest
- Inherits:
-
Object
- Object
- Cadenya::Types::ResumeAgentScheduleRequest
- 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) ⇒ ResumeAgentScheduleRequest
constructor
A new instance of ResumeAgentScheduleRequest.
- #to_h ⇒ Object
Constructor Details
#initialize(workspace_id: nil, agent_id: nil, id: nil) ⇒ ResumeAgentScheduleRequest
Returns a new instance of ResumeAgentScheduleRequest.
4828 4829 4830 4831 4832 |
# File 'lib/cadenya/types.rb', line 4828 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.
4826 4827 4828 |
# File 'lib/cadenya/types.rb', line 4826 def agent_id @agent_id end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
4826 4827 4828 |
# File 'lib/cadenya/types.rb', line 4826 def id @id end |
#workspace_id ⇒ Object (readonly)
Returns the value of attribute workspace_id.
4826 4827 4828 |
# File 'lib/cadenya/types.rb', line 4826 def workspace_id @workspace_id end |
Class Method Details
.from_json(data) ⇒ Object
4834 4835 4836 4837 4838 4839 4840 |
# File 'lib/cadenya/types.rb', line 4834 def self.from_json(data) new( workspace_id: data["workspaceId"], agent_id: data["agentId"], id: data["id"], ) end |