Class: AsposeSlidesCloud::Portion
- Inherits:
-
ResourceBase
- Object
- ResourceBase
- AsposeSlidesCloud::Portion
- Defined in:
- lib/aspose_slides_cloud/models/portion.rb
Overview
Represents portion resource
Defined Under Namespace
Classes: EnumAttributeValidator
Instance Attribute Summary collapse
-
#alternative_language_id ⇒ Object
Alternative proving language ID.
-
#complex_script_font ⇒ Object
Returns or sets the complex script font info.
-
#east_asian_font ⇒ Object
Returns or sets the East Asian font info.
-
#effect_format ⇒ Object
Effect format.
-
#escapement ⇒ Object
Superscript or subscript of the text.
-
#fill_format ⇒ Object
Fill format.
-
#font_bold ⇒ Object
True for bold font.
-
#font_color ⇒ Object
Font color.
-
#font_height ⇒ Object
Font height.
-
#font_italic ⇒ Object
True for italic font.
-
#font_underline ⇒ Object
Text underline type.
-
#highlight_color ⇒ Object
Highlight color.
-
#hyperlink_click ⇒ Object
Hyperlink defined for mouse click.
-
#hyperlink_mouse_over ⇒ Object
Hyperlink defined for mouse over.
-
#is_hard_underline_fill ⇒ Object
True if underline style has own FillFormat properties.
-
#is_hard_underline_line ⇒ Object
True if underline style has own LineFormat properties.
-
#kerning_minimal_size ⇒ Object
Minimal font size for kerning.
-
#kumimoji ⇒ Object
True if numbers should ignore East-Asian specific vertical text layout.
-
#language_id ⇒ Object
Proving language ID.
-
#latin_font ⇒ Object
Returns or sets the Latin font info.
-
#line_format ⇒ Object
Line format.
-
#math_paragraph ⇒ Object
Math paragraph.
-
#normalise_height ⇒ Object
True to normalize the text.
-
#proof_disabled ⇒ Object
True if the text proof should be disabled.
-
#smart_tag_clean ⇒ Object
True if smart tag should be cleaned.
-
#spacing ⇒ Object
Intercharacter spacing increment.
-
#strikethrough_type ⇒ Object
Text strikethrough type.
-
#text ⇒ Object
Text.
-
#text_cap_type ⇒ Object
Text capitalization type.
-
#underline_fill_format ⇒ Object
Underline fill format.
-
#underline_line_format ⇒ Object
Underline line format.
Attributes inherited from ResourceBase
Class Method Summary collapse
-
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
Attribute type mapping.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Checks equality by comparing each attribute.
-
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type.
-
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash.
-
#build_from_hash(attributes) ⇒ Object
Builds the object from hash.
- #eql?(o) ⇒ Boolean
-
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
-
#initialize(attributes = {}) ⇒ Portion
constructor
Initializes the object.
-
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons.
-
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility).
-
#to_hash ⇒ Hash
Returns the object in the form of hash.
-
#to_s ⇒ String
Returns the string representation of the object.
-
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid.
Constructor Details
#initialize(attributes = {}) ⇒ Portion
Initializes the object
219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 219 def initialize(attributes = {}) super if attributes.has_key?(:'Text') self.text = attributes[:'Text'] end if attributes.has_key?(:'MathParagraph') self.math_paragraph = attributes[:'MathParagraph'] end if attributes.has_key?(:'FontBold') self.font_bold = attributes[:'FontBold'] end if attributes.has_key?(:'FontItalic') self.font_italic = attributes[:'FontItalic'] end if attributes.has_key?(:'FontUnderline') self.font_underline = attributes[:'FontUnderline'] end if attributes.has_key?(:'StrikethroughType') self.strikethrough_type = attributes[:'StrikethroughType'] end if attributes.has_key?(:'TextCapType') self.text_cap_type = attributes[:'TextCapType'] end if attributes.has_key?(:'Escapement') self.escapement = attributes[:'Escapement'] end if attributes.has_key?(:'Spacing') self.spacing = attributes[:'Spacing'] end if attributes.has_key?(:'FontColor') self.font_color = attributes[:'FontColor'] end if attributes.has_key?(:'HighlightColor') self.highlight_color = attributes[:'HighlightColor'] end if attributes.has_key?(:'FontHeight') self.font_height = attributes[:'FontHeight'] end if attributes.has_key?(:'NormaliseHeight') self.normalise_height = attributes[:'NormaliseHeight'] end if attributes.has_key?(:'ProofDisabled') self.proof_disabled = attributes[:'ProofDisabled'] end if attributes.has_key?(:'SmartTagClean') self.smart_tag_clean = attributes[:'SmartTagClean'] end if attributes.has_key?(:'KerningMinimalSize') self.kerning_minimal_size = attributes[:'KerningMinimalSize'] end if attributes.has_key?(:'Kumimoji') self.kumimoji = attributes[:'Kumimoji'] end if attributes.has_key?(:'LanguageId') self.language_id = attributes[:'LanguageId'] end if attributes.has_key?(:'AlternativeLanguageId') self.alternative_language_id = attributes[:'AlternativeLanguageId'] end if attributes.has_key?(:'IsHardUnderlineFill') self.is_hard_underline_fill = attributes[:'IsHardUnderlineFill'] end if attributes.has_key?(:'IsHardUnderlineLine') self.is_hard_underline_line = attributes[:'IsHardUnderlineLine'] end if attributes.has_key?(:'FillFormat') self.fill_format = attributes[:'FillFormat'] end if attributes.has_key?(:'EffectFormat') self.effect_format = attributes[:'EffectFormat'] end if attributes.has_key?(:'LineFormat') self.line_format = attributes[:'LineFormat'] end if attributes.has_key?(:'UnderlineFillFormat') self.underline_fill_format = attributes[:'UnderlineFillFormat'] end if attributes.has_key?(:'UnderlineLineFormat') self.underline_line_format = attributes[:'UnderlineLineFormat'] end if attributes.has_key?(:'HyperlinkClick') self.hyperlink_click = attributes[:'HyperlinkClick'] end if attributes.has_key?(:'HyperlinkMouseOver') self.hyperlink_mouse_over = attributes[:'HyperlinkMouseOver'] end if attributes.has_key?(:'LatinFont') self.latin_font = attributes[:'LatinFont'] end if attributes.has_key?(:'EastAsianFont') self.east_asian_font = attributes[:'EastAsianFont'] end if attributes.has_key?(:'ComplexScriptFont') self.complex_script_font = attributes[:'ComplexScriptFont'] end end |
Instance Attribute Details
#alternative_language_id ⇒ Object
Alternative proving language ID.
83 84 85 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 83 def alternative_language_id @alternative_language_id end |
#complex_script_font ⇒ Object
Returns or sets the complex script font info.
119 120 121 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 119 def complex_script_font @complex_script_font end |
#east_asian_font ⇒ Object
Returns or sets the East Asian font info.
116 117 118 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 116 def east_asian_font @east_asian_font end |
#effect_format ⇒ Object
Effect format.
95 96 97 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 95 def effect_format @effect_format end |
#escapement ⇒ Object
Superscript or subscript of the text.
50 51 52 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 50 def escapement @escapement end |
#fill_format ⇒ Object
Fill format.
92 93 94 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 92 def fill_format @fill_format end |
#font_bold ⇒ Object
True for bold font.
35 36 37 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 35 def font_bold @font_bold end |
#font_color ⇒ Object
Font color.
56 57 58 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 56 def font_color @font_color end |
#font_height ⇒ Object
Font height.
62 63 64 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 62 def font_height @font_height end |
#font_italic ⇒ Object
True for italic font.
38 39 40 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 38 def font_italic @font_italic end |
#font_underline ⇒ Object
Text underline type.
41 42 43 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 41 def font_underline @font_underline end |
#highlight_color ⇒ Object
Highlight color.
59 60 61 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 59 def highlight_color @highlight_color end |
#hyperlink_click ⇒ Object
Hyperlink defined for mouse click.
107 108 109 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 107 def hyperlink_click @hyperlink_click end |
#hyperlink_mouse_over ⇒ Object
Hyperlink defined for mouse over.
110 111 112 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 110 def hyperlink_mouse_over @hyperlink_mouse_over end |
#is_hard_underline_fill ⇒ Object
True if underline style has own FillFormat properties.
86 87 88 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 86 def is_hard_underline_fill @is_hard_underline_fill end |
#is_hard_underline_line ⇒ Object
True if underline style has own LineFormat properties.
89 90 91 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 89 def is_hard_underline_line @is_hard_underline_line end |
#kerning_minimal_size ⇒ Object
Minimal font size for kerning.
74 75 76 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 74 def kerning_minimal_size @kerning_minimal_size end |
#kumimoji ⇒ Object
True if numbers should ignore East-Asian specific vertical text layout.
77 78 79 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 77 def kumimoji @kumimoji end |
#language_id ⇒ Object
Proving language ID.
80 81 82 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 80 def language_id @language_id end |
#latin_font ⇒ Object
Returns or sets the Latin font info.
113 114 115 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 113 def latin_font @latin_font end |
#line_format ⇒ Object
Line format.
98 99 100 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 98 def line_format @line_format end |
#math_paragraph ⇒ Object
Math paragraph.
32 33 34 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 32 def math_paragraph @math_paragraph end |
#normalise_height ⇒ Object
True to normalize the text.
65 66 67 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 65 def normalise_height @normalise_height end |
#proof_disabled ⇒ Object
True if the text proof should be disabled.
68 69 70 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 68 def proof_disabled @proof_disabled end |
#smart_tag_clean ⇒ Object
True if smart tag should be cleaned.
71 72 73 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 71 def smart_tag_clean @smart_tag_clean end |
#spacing ⇒ Object
Intercharacter spacing increment.
53 54 55 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 53 def spacing @spacing end |
#strikethrough_type ⇒ Object
Text strikethrough type.
44 45 46 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 44 def strikethrough_type @strikethrough_type end |
#text ⇒ Object
Text.
29 30 31 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 29 def text @text end |
#text_cap_type ⇒ Object
Text capitalization type.
47 48 49 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 47 def text_cap_type @text_cap_type end |
#underline_fill_format ⇒ Object
Underline fill format.
101 102 103 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 101 def underline_fill_format @underline_fill_format end |
#underline_line_format ⇒ Object
Underline line format.
104 105 106 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 104 def underline_line_format @underline_line_format end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 144 def self.attribute_map super.merge({ :'text' => :'Text', :'math_paragraph' => :'MathParagraph', :'font_bold' => :'FontBold', :'font_italic' => :'FontItalic', :'font_underline' => :'FontUnderline', :'strikethrough_type' => :'StrikethroughType', :'text_cap_type' => :'TextCapType', :'escapement' => :'Escapement', :'spacing' => :'Spacing', :'font_color' => :'FontColor', :'highlight_color' => :'HighlightColor', :'font_height' => :'FontHeight', :'normalise_height' => :'NormaliseHeight', :'proof_disabled' => :'ProofDisabled', :'smart_tag_clean' => :'SmartTagClean', :'kerning_minimal_size' => :'KerningMinimalSize', :'kumimoji' => :'Kumimoji', :'language_id' => :'LanguageId', :'alternative_language_id' => :'AlternativeLanguageId', :'is_hard_underline_fill' => :'IsHardUnderlineFill', :'is_hard_underline_line' => :'IsHardUnderlineLine', :'fill_format' => :'FillFormat', :'effect_format' => :'EffectFormat', :'line_format' => :'LineFormat', :'underline_fill_format' => :'UnderlineFillFormat', :'underline_line_format' => :'UnderlineLineFormat', :'hyperlink_click' => :'HyperlinkClick', :'hyperlink_mouse_over' => :'HyperlinkMouseOver', :'latin_font' => :'LatinFont', :'east_asian_font' => :'EastAsianFont', :'complex_script_font' => :'ComplexScriptFont', }) end |
.swagger_types ⇒ Object
Attribute type mapping.
181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 181 def self.swagger_types super.merge({ :'text' => :'String', :'math_paragraph' => :'MathParagraph', :'font_bold' => :'String', :'font_italic' => :'String', :'font_underline' => :'String', :'strikethrough_type' => :'String', :'text_cap_type' => :'String', :'escapement' => :'Float', :'spacing' => :'Float', :'font_color' => :'String', :'highlight_color' => :'String', :'font_height' => :'Float', :'normalise_height' => :'String', :'proof_disabled' => :'String', :'smart_tag_clean' => :'BOOLEAN', :'kerning_minimal_size' => :'Float', :'kumimoji' => :'String', :'language_id' => :'String', :'alternative_language_id' => :'String', :'is_hard_underline_fill' => :'String', :'is_hard_underline_line' => :'String', :'fill_format' => :'FillFormat', :'effect_format' => :'EffectFormat', :'line_format' => :'LineFormat', :'underline_fill_format' => :'FillFormat', :'underline_line_format' => :'LineFormat', :'hyperlink_click' => :'Hyperlink', :'hyperlink_mouse_over' => :'Hyperlink', :'latin_font' => :'String', :'east_asian_font' => :'String', :'complex_script_font' => :'String', }) end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 483 def ==(o) return true if self.equal?(o) self.class == o.class && self_uri == o.self_uri && alternate_links == o.alternate_links && text == o.text && math_paragraph == o.math_paragraph && font_bold == o.font_bold && font_italic == o.font_italic && font_underline == o.font_underline && strikethrough_type == o.strikethrough_type && text_cap_type == o.text_cap_type && escapement == o.escapement && spacing == o.spacing && font_color == o.font_color && highlight_color == o.highlight_color && font_height == o.font_height && normalise_height == o.normalise_height && proof_disabled == o.proof_disabled && smart_tag_clean == o.smart_tag_clean && kerning_minimal_size == o.kerning_minimal_size && kumimoji == o.kumimoji && language_id == o.language_id && alternative_language_id == o.alternative_language_id && is_hard_underline_fill == o.is_hard_underline_fill && is_hard_underline_line == o.is_hard_underline_line && fill_format == o.fill_format && effect_format == o.effect_format && line_format == o.line_format && underline_fill_format == o.underline_fill_format && underline_line_format == o.underline_line_format && hyperlink_click == o.hyperlink_click && hyperlink_mouse_over == o.hyperlink_mouse_over && latin_font == o.latin_font && east_asian_font == o.east_asian_font && complex_script_font == o.complex_script_font end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 569 def _deserialize(type, value) if value.nil? nil else case type.to_sym when :DateTime DateTime.parse(value) when :Date Date.parse(value) when :String value.to_s when :Integer value.to_i when :Float value.to_f when :BOOLEAN if value.to_s =~ /\A(true|t|yes|y|1)\z/i true else false end when :Object # generic object (usually a Hash), return directly value when /\AArray<(?<inner_type>.+)>\z/ inner_type = Regexp.last_match[:inner_type] value.map { |v| _deserialize(inner_type, v) } when /\AHash<(?<k_type>.+?), (?<v_type>.+)>\z/ k_type = Regexp.last_match[:k_type] v_type = Regexp.last_match[:v_type] {}.tap do |hash| value.each do |k, v| hash[_deserialize(k_type, k)] = _deserialize(v_type, v) end end else # model registry_type = AsposeSlidesCloud::TypeRegistry.get_type(type.to_s, value) if registry_type type = registry_type end temp_model = AsposeSlidesCloud.const_get(type).new temp_model.build_from_hash(value) end end end |
#_to_hash(value) ⇒ Hash
Outputs non-array value in the form of hash For object, use to_hash. Otherwise, just return the value
643 644 645 646 647 648 649 650 651 652 653 654 655 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 643 def _to_hash(value) if value.is_a?(Array) value.compact.map { |v| _to_hash(v) } elsif value.is_a?(Hash) {}.tap do |hash| value.each { |k, v| hash[k] = _to_hash(v) } end elsif value.respond_to? :to_hash value.to_hash else value end end |
#build_from_hash(attributes) ⇒ Object
Builds the object from hash
536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 536 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| mapKey = self.class.attribute_map[key] if !mapKey.nil? val = attributes[mapKey] if val.nil? mapKeyString = mapKey.to_s mapKeyString[0] = mapKeyString[0].downcase mapKey = mapKeyString.to_sym val = attributes[mapKey] end if !val.nil? if type =~ /\AArray<(.*)>/i # check to ensure the input is an array given that the the attribute # is documented as an array but the input is not if val.is_a?(Array) self.send("#{key}=", val.map { |v| _deserialize($1, v) }) end else self.send("#{key}=", _deserialize(type, val)) end end end end self end |
#eql?(o) ⇒ Boolean
523 524 525 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 523 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
529 530 531 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 529 def hash [self_uri, alternate_links, text, math_paragraph, font_bold, font_italic, font_underline, strikethrough_type, text_cap_type, escapement, spacing, font_color, highlight_color, font_height, normalise_height, proof_disabled, smart_tag_clean, kerning_minimal_size, kumimoji, language_id, alternative_language_id, is_hard_underline_fill, is_hard_underline_line, fill_format, effect_format, line_format, underline_fill_format, underline_line_format, hyperlink_click, hyperlink_mouse_over, latin_font, east_asian_font, complex_script_font].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
349 350 351 352 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 349 def list_invalid_properties invalid_properties = super invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
623 624 625 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 623 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
629 630 631 632 633 634 635 636 637 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 629 def to_hash hash = {} self.class.attribute_map.each_pair do |attr, param| value = self.send(attr) next if value.nil? hash[param] = _to_hash(value) end hash end |
#to_s ⇒ String
Returns the string representation of the object
617 618 619 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 617 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 |
# File 'lib/aspose_slides_cloud/models/portion.rb', line 356 def valid? return false if !super font_bold_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless font_bold_validator.valid?(@font_bold) font_italic_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless font_italic_validator.valid?(@font_italic) font_underline_validator = EnumAttributeValidator.new('String', ['None', 'Words', 'Single', 'Double', 'Heavy', 'Dotted', 'HeavyDotted', 'Dashed', 'HeavyDashed', 'LongDashed', 'HeavyLongDashed', 'DotDash', 'HeavyDotDash', 'DotDotDash', 'HeavyDotDotDash', 'Wavy', 'HeavyWavy', 'DoubleWavy', 'NotDefined']) return false unless font_underline_validator.valid?(@font_underline) strikethrough_type_validator = EnumAttributeValidator.new('String', ['None', 'Single', 'Double', 'NotDefined']) return false unless strikethrough_type_validator.valid?(@strikethrough_type) text_cap_type_validator = EnumAttributeValidator.new('String', ['None', 'Small', 'All', 'NotDefined']) return false unless text_cap_type_validator.valid?(@text_cap_type) normalise_height_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless normalise_height_validator.valid?(@normalise_height) proof_disabled_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless proof_disabled_validator.valid?(@proof_disabled) kumimoji_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless kumimoji_validator.valid?(@kumimoji) is_hard_underline_fill_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless is_hard_underline_fill_validator.valid?(@is_hard_underline_fill) is_hard_underline_line_validator = EnumAttributeValidator.new('String', ['False', 'True', 'NotDefined']) return false unless is_hard_underline_line_validator.valid?(@is_hard_underline_line) true end |