Class: StackOne::Models::Shared::LmsUpsertContentRequestDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::LmsUpsertContentRequestDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(external_reference:, active: nil, additional_data: nil, authors: nil, categories: nil, content_type: nil, content_url: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, languages: nil, localizations: nil, mobile_launch_content_url: nil, order: nil, passthrough: nil, short_description: nil, skills: nil, tags: nil, title: nil, unified_custom_fields: nil, updated_at: nil) ⇒ LmsUpsertContentRequestDto
constructor
A new instance of LmsUpsertContentRequestDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(external_reference:, active: nil, additional_data: nil, authors: nil, categories: nil, content_type: nil, content_url: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, languages: nil, localizations: nil, mobile_launch_content_url: nil, order: nil, passthrough: nil, short_description: nil, skills: nil, tags: nil, title: nil, unified_custom_fields: nil, updated_at: nil) ⇒ LmsUpsertContentRequestDto
Returns a new instance of LmsUpsertContentRequestDto.
63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb', line 63 def initialize(external_reference:, active: nil, additional_data: nil, authors: nil, categories: nil, content_type: nil, content_url: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, languages: nil, localizations: nil, mobile_launch_content_url: nil, order: nil, passthrough: nil, short_description: nil, skills: nil, tags: nil, title: nil, unified_custom_fields: nil, updated_at: nil) @external_reference = external_reference @active = active @additional_data = additional_data @authors = @categories = categories @content_type = content_type @content_url = content_url @cover_url = cover_url @created_at = created_at @description = description @duration = duration @languages = languages @localizations = localizations @mobile_launch_content_url = mobile_launch_content_url @order = order @passthrough = passthrough @short_description = short_description @skills = skills @tags = @title = title @unified_custom_fields = unified_custom_fields @updated_at = updated_at end |
Instance Method Details
#==(other) ⇒ Object
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 |
# File 'lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb', line 89 def ==(other) return false unless other.is_a? self.class return false unless @external_reference == other.external_reference return false unless @active == other.active return false unless @additional_data == other.additional_data return false unless @authors == other. return false unless @categories == other.categories return false unless @content_type == other.content_type return false unless @content_url == other.content_url return false unless @cover_url == other.cover_url return false unless @created_at == other.created_at return false unless @description == other.description return false unless @duration == other.duration return false unless @languages == other.languages return false unless @localizations == other.localizations return false unless @mobile_launch_content_url == other.mobile_launch_content_url return false unless @order == other.order return false unless @passthrough == other.passthrough return false unless @short_description == other.short_description return false unless @skills == other.skills return false unless @tags == other. return false unless @title == other.title return false unless @unified_custom_fields == other.unified_custom_fields return false unless @updated_at == other.updated_at true end |