Method: DocuSign_eSign::ConnectCustomConfiguration#initialize

Defined in:
lib/docusign_esign/models/connect_custom_configuration.rb

#initialize(attributes = {}) ⇒ ConnectCustomConfiguration

Initializes the object

Parameters:

  • attributes (Hash) (defaults to: {})

    Model attributes in the form of hash



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
180
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
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/docusign_esign/models/connect_custom_configuration.rb', line 142

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?(:'allowEnvelopePublish')
    self.allow_envelope_publish = attributes[:'allowEnvelopePublish']
  end

  if attributes.has_key?(:'allUsers')
    self.all_users = attributes[:'allUsers']
  end

  if attributes.has_key?(:'configurationType')
    self.configuration_type = attributes[:'configurationType']
  end

  if attributes.has_key?(:'connectId')
    self.connect_id = attributes[:'connectId']
  end

  if attributes.has_key?(:'enableLog')
    self.enable_log = attributes[:'enableLog']
  end

  if attributes.has_key?(:'envelopeEvents')
    self.envelope_events = attributes[:'envelopeEvents']
  end

  if attributes.has_key?(:'includeCertificateOfCompletion')
    self.include_certificate_of_completion = attributes[:'includeCertificateOfCompletion']
  end

  if attributes.has_key?(:'includeCertSoapHeader')
    self.include_cert_soap_header = attributes[:'includeCertSoapHeader']
  end

  if attributes.has_key?(:'includeDocumentFields')
    self.include_document_fields = attributes[:'includeDocumentFields']
  end

  if attributes.has_key?(:'includeDocuments')
    self.include_documents = attributes[:'includeDocuments']
  end

  if attributes.has_key?(:'includeEnvelopeVoidReason')
    self.include_envelope_void_reason = attributes[:'includeEnvelopeVoidReason']
  end

  if attributes.has_key?(:'includeHMAC')
    self.include_hmac = attributes[:'includeHMAC']
  end

  if attributes.has_key?(:'includeSenderAccountasCustomField')
    self.include_sender_accountas_custom_field = attributes[:'includeSenderAccountasCustomField']
  end

  if attributes.has_key?(:'includeTimeZoneInformation')
    self.include_time_zone_information = attributes[:'includeTimeZoneInformation']
  end

  if attributes.has_key?(:'name')
    self.name = attributes[:'name']
  end

  if attributes.has_key?(:'recipientEvents')
    self.recipient_events = attributes[:'recipientEvents']
  end

  if attributes.has_key?(:'requiresAcknowledgement')
    self.requires_acknowledgement = attributes[:'requiresAcknowledgement']
  end

  if attributes.has_key?(:'signMessageWithX509Certificate')
    self.sign_message_with_x509_certificate = attributes[:'signMessageWithX509Certificate']
  end

  if attributes.has_key?(:'soapNamespace')
    self.soap_namespace = attributes[:'soapNamespace']
  end

  if attributes.has_key?(:'urlToPublishTo')
    self.url_to_publish_to = attributes[:'urlToPublishTo']
  end

  if attributes.has_key?(:'userIds')
    self.user_ids = attributes[:'userIds']
  end

  if attributes.has_key?(:'useSoapInterface')
    self.use_soap_interface = attributes[:'useSoapInterface']
  end

end