Class: AsposeCellsCloud::Shape
- Inherits:
-
Object
- Object
- AsposeCellsCloud::Shape
- Defined in:
- lib/aspose_cells_cloud/models/shape.rb
Instance Attribute Summary collapse
-
#alternative_text ⇒ Object
Returns the value of attribute alternative_text.
-
#auto_shape_type ⇒ Object
Returns the value of attribute auto_shape_type.
-
#bottom ⇒ Object
Returns the value of attribute bottom.
-
#height ⇒ Object
Returns the value of attribute height.
-
#html_text ⇒ Object
Returns the value of attribute html_text.
-
#is_group ⇒ Object
Returns the value of attribute is_group.
-
#is_hidden ⇒ Object
Returns the value of attribute is_hidden.
-
#is_lock_aspect_ratio ⇒ Object
Returns the value of attribute is_lock_aspect_ratio.
-
#is_locked ⇒ Object
Returns the value of attribute is_locked.
-
#is_printable ⇒ Object
Returns the value of attribute is_printable.
-
#is_text_wrapped ⇒ Object
Returns the value of attribute is_text_wrapped.
-
#is_word_art ⇒ Object
Returns the value of attribute is_word_art.
-
#left ⇒ Object
Returns the value of attribute left.
-
#link ⇒ Object
Returns the value of attribute link.
-
#linked_cell ⇒ Object
Returns the value of attribute linked_cell.
-
#lower_right_column ⇒ Object
Returns the value of attribute lower_right_column.
-
#lower_right_row ⇒ Object
Returns the value of attribute lower_right_row.
-
#mso_drawing_type ⇒ Object
Returns the value of attribute mso_drawing_type.
-
#name ⇒ Object
Returns the value of attribute name.
-
#placement ⇒ Object
Returns the value of attribute placement.
-
#right ⇒ Object
Returns the value of attribute right.
-
#rotation_angle ⇒ Object
Returns the value of attribute rotation_angle.
-
#text ⇒ Object
Returns the value of attribute text.
-
#text_horizontal_alignment ⇒ Object
Returns the value of attribute text_horizontal_alignment.
-
#text_horizontal_overflow ⇒ Object
Returns the value of attribute text_horizontal_overflow.
-
#text_orientation_type ⇒ Object
Returns the value of attribute text_orientation_type.
-
#text_vertical_alignment ⇒ Object
Returns the value of attribute text_vertical_alignment.
-
#text_vertical_overflow ⇒ Object
Returns the value of attribute text_vertical_overflow.
-
#top ⇒ Object
Returns the value of attribute top.
-
#upper_left_column ⇒ Object
Returns the value of attribute upper_left_column.
-
#upper_left_row ⇒ Object
Returns the value of attribute upper_left_row.
-
#width ⇒ Object
Returns the value of attribute width.
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z_order_position ⇒ Object
Returns the value of attribute z_order_position.
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 = {}) ⇒ Shape
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 = {}) ⇒ Shape
Initializes the object
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 216 217 218 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 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 183 def initialize(attributes = {}) return unless attributes.is_a?(Hash) # convert string to symbol for hash key attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v} if attributes.has_key?(:'link') self.link = attributes[:'link'] end if attributes.has_key?(:'AlternativeText') self.alternative_text = attributes[:'AlternativeText'] end if attributes.has_key?(:'Bottom') self.bottom = attributes[:'Bottom'] end if attributes.has_key?(:'Top') self.top = attributes[:'Top'] end if attributes.has_key?(:'Width') self.width = attributes[:'Width'] end if attributes.has_key?(:'HtmlText') self.html_text = attributes[:'HtmlText'] end if attributes.has_key?(:'TextVerticalAlignment') self.text_vertical_alignment = attributes[:'TextVerticalAlignment'] end if attributes.has_key?(:'AutoShapeType') self.auto_shape_type = attributes[:'AutoShapeType'] end if attributes.has_key?(:'IsPrintable') self.is_printable = attributes[:'IsPrintable'] end if attributes.has_key?(:'UpperLeftColumn') self.upper_left_column = attributes[:'UpperLeftColumn'] end if attributes.has_key?(:'IsLockAspectRatio') self.is_lock_aspect_ratio = attributes[:'IsLockAspectRatio'] end if attributes.has_key?(:'IsGroup') self.is_group = attributes[:'IsGroup'] end if attributes.has_key?(:'RotationAngle') self.rotation_angle = attributes[:'RotationAngle'] end if attributes.has_key?(:'ZOrderPosition') self.z_order_position = attributes[:'ZOrderPosition'] end if attributes.has_key?(:'TextHorizontalOverflow') self.text_horizontal_overflow = attributes[:'TextHorizontalOverflow'] end if attributes.has_key?(:'MsoDrawingType') self.mso_drawing_type = attributes[:'MsoDrawingType'] end if attributes.has_key?(:'TextOrientationType') self.text_orientation_type = attributes[:'TextOrientationType'] end if attributes.has_key?(:'Placement') self.placement = attributes[:'Placement'] end if attributes.has_key?(:'Name') self.name = attributes[:'Name'] end if attributes.has_key?(:'IsWordArt') self.is_word_art = attributes[:'IsWordArt'] end if attributes.has_key?(:'LinkedCell') self.linked_cell = attributes[:'LinkedCell'] end if attributes.has_key?(:'UpperLeftRow') self.upper_left_row = attributes[:'UpperLeftRow'] end if attributes.has_key?(:'IsLocked') self.is_locked = attributes[:'IsLocked'] end if attributes.has_key?(:'LowerRightRow') self.lower_right_row = attributes[:'LowerRightRow'] end if attributes.has_key?(:'IsTextWrapped') self.is_text_wrapped = attributes[:'IsTextWrapped'] end if attributes.has_key?(:'Y') self.y = attributes[:'Y'] end if attributes.has_key?(:'X') self.x = attributes[:'X'] end if attributes.has_key?(:'IsHidden') self.is_hidden = attributes[:'IsHidden'] end if attributes.has_key?(:'Left') self.left = attributes[:'Left'] end if attributes.has_key?(:'Right') self.right = attributes[:'Right'] end if attributes.has_key?(:'Text') self.text = attributes[:'Text'] end if attributes.has_key?(:'LowerRightColumn') self.lower_right_column = attributes[:'LowerRightColumn'] end if attributes.has_key?(:'Height') self.height = attributes[:'Height'] end if attributes.has_key?(:'TextHorizontalAlignment') self.text_horizontal_alignment = attributes[:'TextHorizontalAlignment'] end if attributes.has_key?(:'TextVerticalOverflow') self.text_vertical_overflow = attributes[:'TextVerticalOverflow'] end end |
Instance Attribute Details
#alternative_text ⇒ Object
Returns the value of attribute alternative_text.
30 31 32 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 30 def alternative_text @alternative_text end |
#auto_shape_type ⇒ Object
Returns the value of attribute auto_shape_type.
42 43 44 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 42 def auto_shape_type @auto_shape_type end |
#bottom ⇒ Object
Returns the value of attribute bottom.
32 33 34 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 32 def bottom @bottom end |
#height ⇒ Object
Returns the value of attribute height.
92 93 94 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 92 def height @height end |
#html_text ⇒ Object
Returns the value of attribute html_text.
38 39 40 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 38 def html_text @html_text end |
#is_group ⇒ Object
Returns the value of attribute is_group.
50 51 52 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 50 def is_group @is_group end |
#is_hidden ⇒ Object
Returns the value of attribute is_hidden.
82 83 84 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 82 def is_hidden @is_hidden end |
#is_lock_aspect_ratio ⇒ Object
Returns the value of attribute is_lock_aspect_ratio.
48 49 50 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 48 def is_lock_aspect_ratio @is_lock_aspect_ratio end |
#is_locked ⇒ Object
Returns the value of attribute is_locked.
72 73 74 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 72 def is_locked @is_locked end |
#is_printable ⇒ Object
Returns the value of attribute is_printable.
44 45 46 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 44 def is_printable @is_printable end |
#is_text_wrapped ⇒ Object
Returns the value of attribute is_text_wrapped.
76 77 78 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 76 def is_text_wrapped @is_text_wrapped end |
#is_word_art ⇒ Object
Returns the value of attribute is_word_art.
66 67 68 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 66 def is_word_art @is_word_art end |
#left ⇒ Object
Returns the value of attribute left.
84 85 86 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 84 def left @left end |
#link ⇒ Object
Returns the value of attribute link.
28 29 30 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 28 def link @link end |
#linked_cell ⇒ Object
Returns the value of attribute linked_cell.
68 69 70 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 68 def linked_cell @linked_cell end |
#lower_right_column ⇒ Object
Returns the value of attribute lower_right_column.
90 91 92 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 90 def lower_right_column @lower_right_column end |
#lower_right_row ⇒ Object
Returns the value of attribute lower_right_row.
74 75 76 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 74 def lower_right_row @lower_right_row end |
#mso_drawing_type ⇒ Object
Returns the value of attribute mso_drawing_type.
58 59 60 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 58 def mso_drawing_type @mso_drawing_type end |
#name ⇒ Object
Returns the value of attribute name.
64 65 66 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 64 def name @name end |
#placement ⇒ Object
Returns the value of attribute placement.
62 63 64 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 62 def placement @placement end |
#right ⇒ Object
Returns the value of attribute right.
86 87 88 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 86 def right @right end |
#rotation_angle ⇒ Object
Returns the value of attribute rotation_angle.
52 53 54 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 52 def rotation_angle @rotation_angle end |
#text ⇒ Object
Returns the value of attribute text.
88 89 90 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 88 def text @text end |
#text_horizontal_alignment ⇒ Object
Returns the value of attribute text_horizontal_alignment.
94 95 96 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 94 def text_horizontal_alignment @text_horizontal_alignment end |
#text_horizontal_overflow ⇒ Object
Returns the value of attribute text_horizontal_overflow.
56 57 58 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 56 def text_horizontal_overflow @text_horizontal_overflow end |
#text_orientation_type ⇒ Object
Returns the value of attribute text_orientation_type.
60 61 62 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 60 def text_orientation_type @text_orientation_type end |
#text_vertical_alignment ⇒ Object
Returns the value of attribute text_vertical_alignment.
40 41 42 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 40 def text_vertical_alignment @text_vertical_alignment end |
#text_vertical_overflow ⇒ Object
Returns the value of attribute text_vertical_overflow.
96 97 98 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 96 def text_vertical_overflow @text_vertical_overflow end |
#top ⇒ Object
Returns the value of attribute top.
34 35 36 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 34 def top @top end |
#upper_left_column ⇒ Object
Returns the value of attribute upper_left_column.
46 47 48 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 46 def upper_left_column @upper_left_column end |
#upper_left_row ⇒ Object
Returns the value of attribute upper_left_row.
70 71 72 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 70 def upper_left_row @upper_left_row end |
#width ⇒ Object
Returns the value of attribute width.
36 37 38 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 36 def width @width end |
#x ⇒ Object
Returns the value of attribute x.
80 81 82 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 80 def x @x end |
#y ⇒ Object
Returns the value of attribute y.
78 79 80 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 78 def y @y end |
#z_order_position ⇒ Object
Returns the value of attribute z_order_position.
54 55 56 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 54 def z_order_position @z_order_position end |
Class Method Details
.attribute_map ⇒ Object
Attribute mapping from ruby-style variable name to JSON key.
100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 100 def self.attribute_map { :'link' => :'link', :'alternative_text' => :'AlternativeText', :'bottom' => :'Bottom', :'top' => :'Top', :'width' => :'Width', :'html_text' => :'HtmlText', :'text_vertical_alignment' => :'TextVerticalAlignment', :'auto_shape_type' => :'AutoShapeType', :'is_printable' => :'IsPrintable', :'upper_left_column' => :'UpperLeftColumn', :'is_lock_aspect_ratio' => :'IsLockAspectRatio', :'is_group' => :'IsGroup', :'rotation_angle' => :'RotationAngle', :'z_order_position' => :'ZOrderPosition', :'text_horizontal_overflow' => :'TextHorizontalOverflow', :'mso_drawing_type' => :'MsoDrawingType', :'text_orientation_type' => :'TextOrientationType', :'placement' => :'Placement', :'name' => :'Name', :'is_word_art' => :'IsWordArt', :'linked_cell' => :'LinkedCell', :'upper_left_row' => :'UpperLeftRow', :'is_locked' => :'IsLocked', :'lower_right_row' => :'LowerRightRow', :'is_text_wrapped' => :'IsTextWrapped', :'y' => :'Y', :'x' => :'X', :'is_hidden' => :'IsHidden', :'left' => :'Left', :'right' => :'Right', :'text' => :'Text', :'lower_right_column' => :'LowerRightColumn', :'height' => :'Height', :'text_horizontal_alignment' => :'TextHorizontalAlignment', :'text_vertical_overflow' => :'TextVerticalOverflow' } end |
.swagger_types ⇒ Object
Attribute type mapping.
141 142 143 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 179 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 141 def self.swagger_types { :'link' => :'Link', :'alternative_text' => :'String', :'bottom' => :'Integer', :'top' => :'Integer', :'width' => :'Integer', :'html_text' => :'String', :'text_vertical_alignment' => :'String', :'auto_shape_type' => :'String', :'is_printable' => :'BOOLEAN', :'upper_left_column' => :'Integer', :'is_lock_aspect_ratio' => :'BOOLEAN', :'is_group' => :'BOOLEAN', :'rotation_angle' => :'Float', :'z_order_position' => :'Integer', :'text_horizontal_overflow' => :'String', :'mso_drawing_type' => :'String', :'text_orientation_type' => :'String', :'placement' => :'String', :'name' => :'String', :'is_word_art' => :'BOOLEAN', :'linked_cell' => :'String', :'upper_left_row' => :'Integer', :'is_locked' => :'BOOLEAN', :'lower_right_row' => :'Integer', :'is_text_wrapped' => :'BOOLEAN', :'y' => :'Integer', :'x' => :'Integer', :'is_hidden' => :'BOOLEAN', :'left' => :'Integer', :'right' => :'Integer', :'text' => :'String', :'lower_right_column' => :'Integer', :'height' => :'Integer', :'text_horizontal_alignment' => :'String', :'text_vertical_overflow' => :'String' } end |
Instance Method Details
#==(o) ⇒ Object
Checks equality by comparing each attribute.
346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 346 def ==(o) return true if self.equal?(o) self.class == o.class && link == o.link && alternative_text == o.alternative_text && bottom == o.bottom && top == o.top && width == o.width && html_text == o.html_text && text_vertical_alignment == o.text_vertical_alignment && auto_shape_type == o.auto_shape_type && is_printable == o.is_printable && upper_left_column == o.upper_left_column && is_lock_aspect_ratio == o.is_lock_aspect_ratio && is_group == o.is_group && rotation_angle == o.rotation_angle && z_order_position == o.z_order_position && text_horizontal_overflow == o.text_horizontal_overflow && mso_drawing_type == o.mso_drawing_type && text_orientation_type == o.text_orientation_type && placement == o.placement && name == o.name && is_word_art == o.is_word_art && linked_cell == o.linked_cell && upper_left_row == o.upper_left_row && is_locked == o.is_locked && lower_right_row == o.lower_right_row && is_text_wrapped == o.is_text_wrapped && y == o.y && x == o.x && is_hidden == o.is_hidden && left == o.left && right == o.right && text == o.text && lower_right_column == o.lower_right_column && height == o.height && text_horizontal_alignment == o.text_horizontal_alignment && text_vertical_overflow == o.text_vertical_overflow end |
#_deserialize(type, value) ⇒ Object
Deserializes the data based on type
422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 422 def _deserialize(type, value) 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 temp_model = AsposeCellsCloud.const_get(type).new temp_model.build_from_hash(value) 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
488 489 490 491 492 493 494 495 496 497 498 499 500 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 488 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
401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 401 def build_from_hash(attributes) return nil unless attributes.is_a?(Hash) self.class.swagger_types.each_pair do |key, type| 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 attributes[self.class.attribute_map[key]].is_a?(Array) self.send("#{key}=", attributes[self.class.attribute_map[key]].map{ |v| _deserialize($1, v) } ) end elsif !attributes[self.class.attribute_map[key]].nil? self.send("#{key}=", _deserialize(type, attributes[self.class.attribute_map[key]])) end # or else data not found in attributes(hash), not an issue as the data can be optional end self end |
#eql?(o) ⇒ Boolean
388 389 390 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 388 def eql?(o) self == o end |
#hash ⇒ Fixnum
Calculates hash code according to all attributes.
394 395 396 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 394 def hash [link, alternative_text, bottom, top, width, html_text, text_vertical_alignment, auto_shape_type, is_printable, upper_left_column, is_lock_aspect_ratio, is_group, rotation_angle, z_order_position, text_horizontal_overflow, mso_drawing_type, text_orientation_type, placement, name, is_word_art, linked_cell, upper_left_row, is_locked, lower_right_row, is_text_wrapped, y, x, is_hidden, left, right, text, lower_right_column, height, text_horizontal_alignment, text_vertical_overflow].hash end |
#list_invalid_properties ⇒ Object
Show invalid properties with the reasons. Usually used together with valid?
333 334 335 336 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 333 def list_invalid_properties invalid_properties = Array.new return invalid_properties end |
#to_body ⇒ Hash
to_body is an alias to to_hash (backward compatibility)
468 469 470 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 468 def to_body to_hash end |
#to_hash ⇒ Hash
Returns the object in the form of hash
474 475 476 477 478 479 480 481 482 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 474 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
462 463 464 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 462 def to_s to_hash.to_s end |
#valid? ⇒ Boolean
Check to see if the all the properties in the model are valid
340 341 342 |
# File 'lib/aspose_cells_cloud/models/shape.rb', line 340 def valid? return true end |