class Pinnacle::CompanyAdditionalEmailsItem
def initialize(email: OMIT, label: OMIT, additional_properties: nil)
-
(Pinnacle::CompanyAdditionalEmailsItem)
-
Parameters:
-
additional_properties
(OpenStruct
) -- Additional properties unmapped to the current class definition -
label
(String
) -- The label for the additional email address -
email
(String
) -- The additional email address
def initialize(email: OMIT, label: OMIT, additional_properties: nil) @email = email if email != OMIT @label = label if label != OMIT @additional_properties = additional_properties @_field_set = { "email": email, "label": label }.reject do |_k, v| v == OMIT end end