@@ -31,6 +31,9 @@ class SignatureCustomAppearance
3131 # Gets/sets font size. Default value: 10.
3232 attr_accessor :font_size
3333
34+ # Gets or sets signature rotation.
35+ attr_accessor :rotation
36+
3437 # Gets/sets contact info visibility. Default value: true.
3538 attr_accessor :show_contact_info
3639
@@ -61,12 +64,25 @@ class SignatureCustomAppearance
6164 # Gets/sets datetime format. Default value: \"yyyy.MM.dd HH:mm:ss\".
6265 attr_accessor :date_time_format
6366
67+ # Gets/sets background color.
68+ attr_accessor :background_color
69+
70+ # Gets/sets foreground color.
71+ attr_accessor :foreground_color
72+
73+ # Gets/sets subject format usage.
74+ attr_accessor :use_digital_subject_format
75+
76+ # Gets/sets subject format.
77+ attr_accessor :digital_subject_format
78+
6479
6580 # Attribute mapping from ruby-style variable name to JSON key.
6681 def self . attribute_map
6782 {
6883 :'font_family_name' => :'FontFamilyName' ,
6984 :'font_size' => :'FontSize' ,
85+ :'rotation' => :'Rotation' ,
7086 :'show_contact_info' => :'ShowContactInfo' ,
7187 :'show_reason' => :'ShowReason' ,
7288 :'show_location' => :'ShowLocation' ,
@@ -76,7 +92,11 @@ def self.attribute_map
7692 :'digital_signed_label' => :'DigitalSignedLabel' ,
7793 :'date_signed_at_label' => :'DateSignedAtLabel' ,
7894 :'date_time_local_format' => :'DateTimeLocalFormat' ,
79- :'date_time_format' => :'DateTimeFormat'
95+ :'date_time_format' => :'DateTimeFormat' ,
96+ :'background_color' => :'BackgroundColor' ,
97+ :'foreground_color' => :'ForegroundColor' ,
98+ :'use_digital_subject_format' => :'UseDigitalSubjectFormat' ,
99+ :'digital_subject_format' => :'DigitalSubjectFormat'
80100 }
81101 end
82102
@@ -85,6 +105,7 @@ def self.swagger_types
85105 {
86106 :'font_family_name' => :'String' ,
87107 :'font_size' => :'Float' ,
108+ :'rotation' => :'Rotation' ,
88109 :'show_contact_info' => :'BOOLEAN' ,
89110 :'show_reason' => :'BOOLEAN' ,
90111 :'show_location' => :'BOOLEAN' ,
@@ -94,7 +115,11 @@ def self.swagger_types
94115 :'digital_signed_label' => :'String' ,
95116 :'date_signed_at_label' => :'String' ,
96117 :'date_time_local_format' => :'String' ,
97- :'date_time_format' => :'String'
118+ :'date_time_format' => :'String' ,
119+ :'background_color' => :'Color' ,
120+ :'foreground_color' => :'Color' ,
121+ :'use_digital_subject_format' => :'BOOLEAN' ,
122+ :'digital_subject_format' => :'Array<SignatureSubjectNameElements>'
98123 }
99124 end
100125
@@ -114,6 +139,10 @@ def initialize(attributes = {})
114139 self . font_size = attributes [ :'FontSize' ]
115140 end
116141
142+ if attributes . has_key? ( :'Rotation' )
143+ self . rotation = attributes [ :'Rotation' ]
144+ end
145+
117146 if attributes . has_key? ( :'ShowContactInfo' )
118147 self . show_contact_info = attributes [ :'ShowContactInfo' ]
119148 end
@@ -154,14 +183,32 @@ def initialize(attributes = {})
154183 self . date_time_format = attributes [ :'DateTimeFormat' ]
155184 end
156185
186+ if attributes . has_key? ( :'BackgroundColor' )
187+ self . background_color = attributes [ :'BackgroundColor' ]
188+ end
189+
190+ if attributes . has_key? ( :'ForegroundColor' )
191+ self . foreground_color = attributes [ :'ForegroundColor' ]
192+ end
193+
194+ if attributes . has_key? ( :'UseDigitalSubjectFormat' )
195+ self . use_digital_subject_format = attributes [ :'UseDigitalSubjectFormat' ]
196+ end
197+
198+ if attributes . has_key? ( :'DigitalSubjectFormat' )
199+ if ( value = attributes [ :'DigitalSubjectFormat' ] ) . is_a? ( Array )
200+ self . digital_subject_format = value
201+ end
202+ end
203+
157204 end
158205
159206 # Show invalid properties with the reasons. Usually used together with valid?
160207 # @return Array for valid properies with the reasons
161208 def list_invalid_properties
162209 invalid_properties = Array . new
163- if @font_size . nil?
164- invalid_properties . push ( "invalid value for 'font_size ', font_size cannot be nil." )
210+ if @rotation . nil?
211+ invalid_properties . push ( "invalid value for 'rotation ', rotation cannot be nil." )
165212 end
166213
167214 if @show_contact_info . nil?
@@ -176,16 +223,21 @@ def list_invalid_properties
176223 invalid_properties . push ( "invalid value for 'show_location', show_location cannot be nil." )
177224 end
178225
226+ if @use_digital_subject_format . nil?
227+ invalid_properties . push ( "invalid value for 'use_digital_subject_format', use_digital_subject_format cannot be nil." )
228+ end
229+
179230 return invalid_properties
180231 end
181232
182233 # Check to see if the all the properties in the model are valid
183234 # @return true if the model is valid
184235 def valid?
185- return false if @font_size . nil?
236+ return false if @rotation . nil?
186237 return false if @show_contact_info . nil?
187238 return false if @show_reason . nil?
188239 return false if @show_location . nil?
240+ return false if @use_digital_subject_format . nil?
189241 return true
190242 end
191243
@@ -196,6 +248,7 @@ def ==(o)
196248 self . class == o . class &&
197249 font_family_name == o . font_family_name &&
198250 font_size == o . font_size &&
251+ rotation == o . rotation &&
199252 show_contact_info == o . show_contact_info &&
200253 show_reason == o . show_reason &&
201254 show_location == o . show_location &&
@@ -205,7 +258,11 @@ def ==(o)
205258 digital_signed_label == o . digital_signed_label &&
206259 date_signed_at_label == o . date_signed_at_label &&
207260 date_time_local_format == o . date_time_local_format &&
208- date_time_format == o . date_time_format
261+ date_time_format == o . date_time_format &&
262+ background_color == o . background_color &&
263+ foreground_color == o . foreground_color &&
264+ use_digital_subject_format == o . use_digital_subject_format &&
265+ digital_subject_format == o . digital_subject_format
209266 end
210267
211268 # @see the `==` method
@@ -217,7 +274,7 @@ def eql?(o)
217274 # Calculates hash code according to all attributes.
218275 # @return [Fixnum] Hash code
219276 def hash
220- [ font_family_name , font_size , show_contact_info , show_reason , show_location , contact_info_label , reason_label , location_label , digital_signed_label , date_signed_at_label , date_time_local_format , date_time_format ] . hash
277+ [ font_family_name , font_size , rotation , show_contact_info , show_reason , show_location , contact_info_label , reason_label , location_label , digital_signed_label , date_signed_at_label , date_time_local_format , date_time_format , background_color , foreground_color , use_digital_subject_format , digital_subject_format ] . hash
221278 end
222279
223280 # Builds the object from hash
0 commit comments