mirror of
https://github.com/LukeHagar/plexruby.git
synced 2025-12-06 12:47:44 +00:00
31 lines
769 B
Ruby
31 lines
769 B
Ruby
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
# typed: true
|
|
# frozen_string_literal: true
|
|
|
|
|
|
module PlexRubySDK
|
|
module Operations
|
|
|
|
|
|
class StopTaskRequest < ::Crystalline::FieldAugmented
|
|
extend T::Sig
|
|
|
|
# The name of the task to be started.
|
|
field :task_name, ::PlexRubySDK::Operations::PathParamTaskName, { 'path_param': { 'field_name': 'taskName', 'style': 'simple', 'explode': false } }
|
|
|
|
|
|
sig { params(task_name: ::PlexRubySDK::Operations::PathParamTaskName).void }
|
|
def initialize(task_name: nil)
|
|
@task_name = task_name
|
|
end
|
|
|
|
def ==(other)
|
|
return false unless other.is_a? self.class
|
|
return false unless @task_name == other.task_name
|
|
true
|
|
end
|
|
end
|
|
end
|
|
end
|