@@ -53,14 +53,17 @@ class Cell(object):
53
53
'border' : 'BorderInfo' ,
54
54
'background_color' : 'Color' ,
55
55
'background_image_file' : 'str' ,
56
+ 'background_image_storage_file' : 'str' ,
56
57
'alignment' : 'HorizontalAlignment' ,
57
58
'default_cell_text_state' : 'TextState' ,
58
59
'paragraphs' : 'list[TextRect]' ,
59
60
'is_word_wrapped' : 'bool' ,
60
61
'vertical_alignment' : 'VerticalAlignment' ,
61
62
'col_span' : 'int' ,
62
63
'row_span' : 'int' ,
63
- 'width' : 'float'
64
+ 'width' : 'float' ,
65
+ 'html_fragment' : 'str' ,
66
+ 'images' : 'list[ImageFragment]'
64
67
}
65
68
66
69
attribute_map = {
@@ -69,17 +72,20 @@ class Cell(object):
69
72
'border' : 'Border' ,
70
73
'background_color' : 'BackgroundColor' ,
71
74
'background_image_file' : 'BackgroundImageFile' ,
75
+ 'background_image_storage_file' : 'BackgroundImageStorageFile' ,
72
76
'alignment' : 'Alignment' ,
73
77
'default_cell_text_state' : 'DefaultCellTextState' ,
74
78
'paragraphs' : 'Paragraphs' ,
75
79
'is_word_wrapped' : 'IsWordWrapped' ,
76
80
'vertical_alignment' : 'VerticalAlignment' ,
77
81
'col_span' : 'ColSpan' ,
78
82
'row_span' : 'RowSpan' ,
79
- 'width' : 'Width'
83
+ 'width' : 'Width' ,
84
+ 'html_fragment' : 'HtmlFragment' ,
85
+ 'images' : 'Images'
80
86
}
81
87
82
- def __init__ (self , is_no_border = None , margin = None , border = None , background_color = None , background_image_file = None , alignment = None , default_cell_text_state = None , paragraphs = None , is_word_wrapped = None , vertical_alignment = None , col_span = None , row_span = None , width = None ):
88
+ def __init__ (self , is_no_border = None , margin = None , border = None , background_color = None , background_image_file = None , background_image_storage_file = None , alignment = None , default_cell_text_state = None , paragraphs = None , is_word_wrapped = None , vertical_alignment = None , col_span = None , row_span = None , width = None , html_fragment = None , images = None ):
83
89
"""
84
90
Cell - a model defined in Swagger
85
91
"""
@@ -89,6 +95,7 @@ def __init__(self, is_no_border=None, margin=None, border=None, background_color
89
95
self ._border = None
90
96
self ._background_color = None
91
97
self ._background_image_file = None
98
+ self ._background_image_storage_file = None
92
99
self ._alignment = None
93
100
self ._default_cell_text_state = None
94
101
self ._paragraphs = None
@@ -97,6 +104,8 @@ def __init__(self, is_no_border=None, margin=None, border=None, background_color
97
104
self ._col_span = None
98
105
self ._row_span = None
99
106
self ._width = None
107
+ self ._html_fragment = None
108
+ self ._images = None
100
109
101
110
if is_no_border is not None :
102
111
self .is_no_border = is_no_border
@@ -108,6 +117,8 @@ def __init__(self, is_no_border=None, margin=None, border=None, background_color
108
117
self .background_color = background_color
109
118
if background_image_file is not None :
110
119
self .background_image_file = background_image_file
120
+ if background_image_storage_file is not None :
121
+ self .background_image_storage_file = background_image_storage_file
111
122
if alignment is not None :
112
123
self .alignment = alignment
113
124
if default_cell_text_state is not None :
@@ -124,6 +135,10 @@ def __init__(self, is_no_border=None, margin=None, border=None, background_color
124
135
self .row_span = row_span
125
136
if width is not None :
126
137
self .width = width
138
+ if html_fragment is not None :
139
+ self .html_fragment = html_fragment
140
+ if images is not None :
141
+ self .images = images
127
142
128
143
@property
129
144
def is_no_border (self ):
@@ -240,6 +255,29 @@ def background_image_file(self, background_image_file):
240
255
241
256
self ._background_image_file = background_image_file
242
257
258
+ @property
259
+ def background_image_storage_file (self ):
260
+ """
261
+ Gets the background_image_storage_file of this Cell.
262
+ Gets or sets path of the background image file from storage.
263
+
264
+ :return: The background_image_storage_file of this Cell.
265
+ :rtype: str
266
+ """
267
+ return self ._background_image_storage_file
268
+
269
+ @background_image_storage_file .setter
270
+ def background_image_storage_file (self , background_image_storage_file ):
271
+ """
272
+ Sets the background_image_storage_file of this Cell.
273
+ Gets or sets path of the background image file from storage.
274
+
275
+ :param background_image_storage_file: The background_image_storage_file of this Cell.
276
+ :type: str
277
+ """
278
+
279
+ self ._background_image_storage_file = background_image_storage_file
280
+
243
281
@property
244
282
def alignment (self ):
245
283
"""
@@ -424,6 +462,52 @@ def width(self, width):
424
462
425
463
self ._width = width
426
464
465
+ @property
466
+ def html_fragment (self ):
467
+ """
468
+ Gets the html_fragment of this Cell.
469
+ Gets or sets Html fragment.
470
+
471
+ :return: The html_fragment of this Cell.
472
+ :rtype: str
473
+ """
474
+ return self ._html_fragment
475
+
476
+ @html_fragment .setter
477
+ def html_fragment (self , html_fragment ):
478
+ """
479
+ Sets the html_fragment of this Cell.
480
+ Gets or sets Html fragment.
481
+
482
+ :param html_fragment: The html_fragment of this Cell.
483
+ :type: str
484
+ """
485
+
486
+ self ._html_fragment = html_fragment
487
+
488
+ @property
489
+ def images (self ):
490
+ """
491
+ Gets the images of this Cell.
492
+ Gets or sets ImageFragment list.
493
+
494
+ :return: The images of this Cell.
495
+ :rtype: list[ImageFragment]
496
+ """
497
+ return self ._images
498
+
499
+ @images .setter
500
+ def images (self , images ):
501
+ """
502
+ Sets the images of this Cell.
503
+ Gets or sets ImageFragment list.
504
+
505
+ :param images: The images of this Cell.
506
+ :type: list[ImageFragment]
507
+ """
508
+
509
+ self ._images = images
510
+
427
511
def to_dict (self ):
428
512
"""
429
513
Returns the model properties as a dict
0 commit comments