Class: PlexRubySDK::Models::Operations::Services
- Inherits:
-
Object
- Object
- PlexRubySDK::Models::Operations::Services
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/plex_ruby_sdk/models/operations/services.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(endpoint: nil, identifier: nil, secret: nil, status: nil, token: nil) ⇒ Services
constructor
A new instance of Services.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(endpoint: nil, identifier: nil, secret: nil, status: nil, token: nil) ⇒ Services
Returns a new instance of Services.
32 33 34 35 36 37 38 |
# File 'lib/plex_ruby_sdk/models/operations/services.rb', line 32 def initialize(endpoint: nil, identifier: nil, secret: nil, status: nil, token: nil) @endpoint = endpoint @identifier = identifier @secret = secret @status = status @token = token end |
Instance Method Details
#==(other) ⇒ Object
40 41 42 43 44 45 46 47 48 |
# File 'lib/plex_ruby_sdk/models/operations/services.rb', line 40 def ==(other) return false unless other.is_a? self.class return false unless @endpoint == other.endpoint return false unless @identifier == other.identifier return false unless @secret == other.secret return false unless @status == other.status return false unless @token == other.token true end |