lib/purecloudplatformclientv2/models/survey_form.rb in purecloudplatformclientv2-91.0.0 vs lib/purecloudplatformclientv2/models/survey_form.rb in purecloudplatformclientv2-92.0.0

- old
+ new

@@ -37,16 +37,10 @@ attr_accessor :context_id # Language for survey viewer localization. Currently localized languages: da, de, en-US, es, fi, fr, it, ja, ko, nl, no, pl, pt-BR, sv, th, tr, zh-CH, zh-TW attr_accessor :language - # Id of the header image appearing at the top of the form. - attr_accessor :header_image_id - - # Temporary URL for accessing header image - attr_accessor :header_image_url - # Markdown text for the top of the form. attr_accessor :header # Markdown text for the bottom of the form. attr_accessor :footer @@ -76,14 +70,10 @@ :'context_id' => :'contextId', :'language' => :'language', - :'header_image_id' => :'headerImageId', - - :'header_image_url' => :'headerImageUrl', - :'header' => :'header', :'footer' => :'footer', :'question_groups' => :'questionGroups', @@ -111,14 +101,10 @@ :'context_id' => :'String', :'language' => :'String', - :'header_image_id' => :'String', - - :'header_image_url' => :'String', - :'header' => :'String', :'footer' => :'String', :'question_groups' => :'Array<SurveyQuestionGroup>', @@ -200,28 +186,10 @@ end - if attributes.has_key?(:'headerImageId') - - - self.header_image_id = attributes[:'headerImageId'] - - - end - - - if attributes.has_key?(:'headerImageUrl') - - - self.header_image_url = attributes[:'headerImageUrl'] - - - end - - if attributes.has_key?(:'header') self.header = attributes[:'header'] @@ -332,18 +300,10 @@ - - - - - - - - if @question_groups.nil? return false end @@ -419,20 +379,10 @@ - - - - - - - - - - # Checks equality by comparing each attribute. # @param [Object] Object to be compared def ==(o) return true if self.equal?(o) self.class == o.class && @@ -441,12 +391,10 @@ modified_date == o.modified_date && published == o.published && disabled == o.disabled && context_id == o.context_id && language == o.language && - header_image_id == o.header_image_id && - header_image_url == o.header_image_url && header == o.header && footer == o.footer && question_groups == o.question_groups && published_versions == o.published_versions && self_uri == o.self_uri @@ -459,10 +407,10 @@ end # Calculates hash code according to all attributes. # @return [Fixnum] Hash code def hash - [id, name, modified_date, published, disabled, context_id, language, header_image_id, header_image_url, header, footer, question_groups, published_versions, self_uri].hash + [id, name, modified_date, published, disabled, context_id, language, header, footer, question_groups, published_versions, self_uri].hash end # build the object from hash def build_from_hash(attributes) return nil unless attributes.is_a?(Hash)