61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
# File 'lib/merge_ruby_client/accounting/types/account_integration.rb', line 61
def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, slug: OMIT,
api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil)
@name = name
@categories = categories if categories != OMIT
@image = image if image != OMIT
@square_image = square_image if square_image != OMIT
@color = color if color != OMIT
@slug = slug if slug != OMIT
if api_endpoints_to_documentation_urls != OMIT
@api_endpoints_to_documentation_urls = api_endpoints_to_documentation_urls
end
@webhook_setup_guide_url = webhook_setup_guide_url if webhook_setup_guide_url != OMIT
@category_beta_status = category_beta_status if category_beta_status != OMIT
@additional_properties = additional_properties
@_field_set = {
"name": name,
"categories": categories,
"image": image,
"square_image": square_image,
"color": color,
"slug": slug,
"api_endpoints_to_documentation_urls": api_endpoints_to_documentation_urls,
"webhook_setup_guide_url": webhook_setup_guide_url,
"category_beta_status": category_beta_status
}.reject do |_k, v|
v == OMIT
end
end
|