apimatic-semgrep-sdk 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE +28 -0
- data/README.md +205 -0
- data/bin/console +15 -0
- data/lib/semgrep_web_app/api_helper.rb +10 -0
- data/lib/semgrep_web_app/apis/base_api.rb +67 -0
- data/lib/semgrep_web_app/apis/deployments_service_api.rb +29 -0
- data/lib/semgrep_web_app/apis/findings_service_api.rb +107 -0
- data/lib/semgrep_web_app/apis/misc_service_api.rb +47 -0
- data/lib/semgrep_web_app/apis/policies_service_api.rb +97 -0
- data/lib/semgrep_web_app/apis/projects_service_api.rb +238 -0
- data/lib/semgrep_web_app/apis/scans_service_api.rb +65 -0
- data/lib/semgrep_web_app/apis/secrets_service_api.rb +55 -0
- data/lib/semgrep_web_app/apis/supply_chain_service_api.rb +154 -0
- data/lib/semgrep_web_app/apis/ticketing_service_api.rb +144 -0
- data/lib/semgrep_web_app/apis/triage_service_api.rb +43 -0
- data/lib/semgrep_web_app/client.rb +136 -0
- data/lib/semgrep_web_app/configuration.rb +178 -0
- data/lib/semgrep_web_app/exceptions/api_exception.rb +21 -0
- data/lib/semgrep_web_app/http/api_response.rb +19 -0
- data/lib/semgrep_web_app/http/auth/semgrep_admin_jwt.rb +53 -0
- data/lib/semgrep_web_app/http/auth/semgrep_jwt.rb +53 -0
- data/lib/semgrep_web_app/http/auth/semgrep_web_token.rb +53 -0
- data/lib/semgrep_web_app/http/http_call_back.rb +10 -0
- data/lib/semgrep_web_app/http/http_method_enum.rb +10 -0
- data/lib/semgrep_web_app/http/http_request.rb +10 -0
- data/lib/semgrep_web_app/http/http_response.rb +10 -0
- data/lib/semgrep_web_app/http/proxy_settings.rb +22 -0
- data/lib/semgrep_web_app/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/semgrep_web_app/logging/sdk_logger.rb +17 -0
- data/lib/semgrep_web_app/models/add_project_tags_request.rb +96 -0
- data/lib/semgrep_web_app/models/add_project_tags_response.rb +73 -0
- data/lib/semgrep_web_app/models/ai_powered_scan_finding.rb +426 -0
- data/lib/semgrep_web_app/models/ai_sast_findings.rb +85 -0
- data/lib/semgrep_web_app/models/api_v1_deployments_findings_response.rb +87 -0
- data/lib/semgrep_web_app/models/assistant.rb +127 -0
- data/lib/semgrep_web_app/models/autofix.rb +98 -0
- data/lib/semgrep_web_app/models/autotriage.rb +98 -0
- data/lib/semgrep_web_app/models/autotriage_verdict.rb +36 -0
- data/lib/semgrep_web_app/models/autotriage_verdict2.rb +38 -0
- data/lib/semgrep_web_app/models/base_model.rb +110 -0
- data/lib/semgrep_web_app/models/bulk_triage_request.rb +393 -0
- data/lib/semgrep_web_app/models/bulk_triage_response.rb +83 -0
- data/lib/semgrep_web_app/models/click_to_fix_failure.rb +95 -0
- data/lib/semgrep_web_app/models/click_to_fix_pr.rb +95 -0
- data/lib/semgrep_web_app/models/click_to_fix_pr_state.rb +38 -0
- data/lib/semgrep_web_app/models/component.rb +95 -0
- data/lib/semgrep_web_app/models/confidence.rb +42 -0
- data/lib/semgrep_web_app/models/confidence1.rb +40 -0
- data/lib/semgrep_web_app/models/confidence2.rb +40 -0
- data/lib/semgrep_web_app/models/confidence3.rb +40 -0
- data/lib/semgrep_web_app/models/confidence7.rb +41 -0
- data/lib/semgrep_web_app/models/confidence8.rb +42 -0
- data/lib/semgrep_web_app/models/create_sbom_export_request.rb +176 -0
- data/lib/semgrep_web_app/models/create_sbom_export_response.rb +74 -0
- data/lib/semgrep_web_app/models/create_ticket_request.rb +393 -0
- data/lib/semgrep_web_app/models/cyclonedx_version.rb +48 -0
- data/lib/semgrep_web_app/models/delete_project_response.rb +74 -0
- data/lib/semgrep_web_app/models/delete_project_tags_response.rb +73 -0
- data/lib/semgrep_web_app/models/deployment.rb +102 -0
- data/lib/semgrep_web_app/models/ecosystem.rb +91 -0
- data/lib/semgrep_web_app/models/ecosystem1.rb +92 -0
- data/lib/semgrep_web_app/models/ecosystem2.rb +76 -0
- data/lib/semgrep_web_app/models/endpoint_reference.rb +72 -0
- data/lib/semgrep_web_app/models/epss_probability.rb +45 -0
- data/lib/semgrep_web_app/models/epss_score.rb +95 -0
- data/lib/semgrep_web_app/models/exposures.rb +50 -0
- data/lib/semgrep_web_app/models/exposures2.rb +51 -0
- data/lib/semgrep_web_app/models/external_ticket.rb +116 -0
- data/lib/semgrep_web_app/models/finding_location.rb +126 -0
- data/lib/semgrep_web_app/models/finding_repository.rb +95 -0
- data/lib/semgrep_web_app/models/finding_rule.rb +158 -0
- data/lib/semgrep_web_app/models/fix_recommendation.rb +95 -0
- data/lib/semgrep_web_app/models/float_range.rb +85 -0
- data/lib/semgrep_web_app/models/format.rb +27 -0
- data/lib/semgrep_web_app/models/found_dependency.rb +128 -0
- data/lib/semgrep_web_app/models/get_project_response.rb +73 -0
- data/lib/semgrep_web_app/models/get_sbom_export_response.rb +100 -0
- data/lib/semgrep_web_app/models/guidance.rb +98 -0
- data/lib/semgrep_web_app/models/issue_type.rb +40 -0
- data/lib/semgrep_web_app/models/issue_type1.rb +40 -0
- data/lib/semgrep_web_app/models/issue_type2.rb +42 -0
- data/lib/semgrep_web_app/models/license_policy_settings.rb +42 -0
- data/lib/semgrep_web_app/models/link_ticket_request.rb +93 -0
- data/lib/semgrep_web_app/models/list_dependencies_request.rb +108 -0
- data/lib/semgrep_web_app/models/list_dependencies_response.rb +102 -0
- data/lib/semgrep_web_app/models/list_findings_response.rb +100 -0
- data/lib/semgrep_web_app/models/list_lockfiles_for_dependencies_request.rb +118 -0
- data/lib/semgrep_web_app/models/list_lockfiles_for_dependencies_response.rb +103 -0
- data/lib/semgrep_web_app/models/list_project.rb +145 -0
- data/lib/semgrep_web_app/models/list_projects_response.rb +82 -0
- data/lib/semgrep_web_app/models/list_repositories_for_dependencies_request.rb +107 -0
- data/lib/semgrep_web_app/models/list_repositories_for_dependencies_response.rb +103 -0
- data/lib/semgrep_web_app/models/managed_scan_config.rb +85 -0
- data/lib/semgrep_web_app/models/metadata_component_type.rb +101 -0
- data/lib/semgrep_web_app/models/mode.rb +48 -0
- data/lib/semgrep_web_app/models/new_triage_reason.rb +48 -0
- data/lib/semgrep_web_app/models/new_triage_state.rb +48 -0
- data/lib/semgrep_web_app/models/policy.rb +118 -0
- data/lib/semgrep_web_app/models/policy_mode.rb +48 -0
- data/lib/semgrep_web_app/models/policy_mode1.rb +40 -0
- data/lib/semgrep_web_app/models/policy_mode3.rb +51 -0
- data/lib/semgrep_web_app/models/policy_reference.rb +105 -0
- data/lib/semgrep_web_app/models/product_type.rb +38 -0
- data/lib/semgrep_web_app/models/products.rb +46 -0
- data/lib/semgrep_web_app/models/project.rb +157 -0
- data/lib/semgrep_web_app/models/protos_ai_v1_autotriage.rb +154 -0
- data/lib/semgrep_web_app/models/protos_ai_v1_autotriage_feedback.rb +98 -0
- data/lib/semgrep_web_app/models/protos_common_v1_review_comment.rb +90 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_create_ticket_response.rb +123 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_create_ticket_response_ticket_creation_failed.rb +85 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_create_ticket_response_ticket_creation_skipped.rb +85 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_create_ticket_response_ticket_creation_success.rb +106 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_delete_ticket_response.rb +76 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_diff_scan.rb +75 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_full_scan.rb +75 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_get_bootstrap_sms_vpc_response.rb +130 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_get_scan_response.rb +168 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_get_scan_response_scan_meta.rb +256 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_link_ticket_response.rb +119 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_list_deployments_response.rb +85 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_list_policies_response.rb +84 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_list_policy_rules_response.rb +104 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_list_secrets_path_response.rb +104 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_search_scans_response.rb +94 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_unlink_ticket_response.rb +77 -0
- data/lib/semgrep_web_app/models/protos_openapi_v1_update_policy_response.rb +88 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_code_location.rb +144 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_dependency.rb +87 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_dependency_filter.rb +199 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_found_dependency.rb +174 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_lockfile_dependency_summary.rb +87 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_package_filter.rb +124 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_repository_dependency_summary.rb +111 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_sbom_format_version.rb +109 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_sbom_metadata_contact.rb +95 -0
- data/lib/semgrep_web_app/models/protos_sca_v1_sbom_metadata_supplier.rb +95 -0
- data/lib/semgrep_web_app/models/protos_scan_v1_scan_findings_counts.rb +105 -0
- data/lib/semgrep_web_app/models/protos_scan_v1_scan_public.rb +228 -0
- data/lib/semgrep_web_app/models/protos_secrets_v1_historical_info.rb +116 -0
- data/lib/semgrep_web_app/models/protos_secrets_v1_secrets_finding.rb +320 -0
- data/lib/semgrep_web_app/models/protos_secrets_v1_secrets_finding_repository.rb +121 -0
- data/lib/semgrep_web_app/models/protos_ticketing_v1_external_ticket.rb +106 -0
- data/lib/semgrep_web_app/models/rating.rb +38 -0
- data/lib/semgrep_web_app/models/reachability.rb +48 -0
- data/lib/semgrep_web_app/models/repository_visibility.rb +40 -0
- data/lib/semgrep_web_app/models/review_comment.rb +100 -0
- data/lib/semgrep_web_app/models/risk.rb +40 -0
- data/lib/semgrep_web_app/models/rule.rb +292 -0
- data/lib/semgrep_web_app/models/rule_explanation.rb +98 -0
- data/lib/semgrep_web_app/models/sast_finding.rb +426 -0
- data/lib/semgrep_web_app/models/sast_findings.rb +84 -0
- data/lib/semgrep_web_app/models/sbom_output_format.rb +37 -0
- data/lib/semgrep_web_app/models/sca_finding.rb +458 -0
- data/lib/semgrep_web_app/models/sca_findings.rb +85 -0
- data/lib/semgrep_web_app/models/scm_type.rb +70 -0
- data/lib/semgrep_web_app/models/search_scans_request.rb +202 -0
- data/lib/semgrep_web_app/models/severities.rb +44 -0
- data/lib/semgrep_web_app/models/severities2.rb +45 -0
- data/lib/semgrep_web_app/models/severity.rb +46 -0
- data/lib/semgrep_web_app/models/severity1.rb +45 -0
- data/lib/semgrep_web_app/models/severity4.rb +46 -0
- data/lib/semgrep_web_app/models/severity5.rb +48 -0
- data/lib/semgrep_web_app/models/source.rb +42 -0
- data/lib/semgrep_web_app/models/state.rb +42 -0
- data/lib/semgrep_web_app/models/status.rb +55 -0
- data/lib/semgrep_web_app/models/status1.rb +52 -0
- data/lib/semgrep_web_app/models/status3.rb +44 -0
- data/lib/semgrep_web_app/models/status6.rb +55 -0
- data/lib/semgrep_web_app/models/status7.rb +59 -0
- data/lib/semgrep_web_app/models/status8.rb +61 -0
- data/lib/semgrep_web_app/models/status9.rb +55 -0
- data/lib/semgrep_web_app/models/statuses.rb +63 -0
- data/lib/semgrep_web_app/models/toggle_project_managed_scan_request.rb +108 -0
- data/lib/semgrep_web_app/models/toggle_project_managed_scan_response.rb +73 -0
- data/lib/semgrep_web_app/models/transitivities.rb +40 -0
- data/lib/semgrep_web_app/models/transitivities2.rb +42 -0
- data/lib/semgrep_web_app/models/transitivity.rb +41 -0
- data/lib/semgrep_web_app/models/transitivity1.rb +42 -0
- data/lib/semgrep_web_app/models/transitivity2.rb +40 -0
- data/lib/semgrep_web_app/models/triage_reason.rb +48 -0
- data/lib/semgrep_web_app/models/triage_reasons.rb +48 -0
- data/lib/semgrep_web_app/models/triage_reasons2.rb +50 -0
- data/lib/semgrep_web_app/models/triage_state.rb +54 -0
- data/lib/semgrep_web_app/models/unlink_ticket_request.rb +83 -0
- data/lib/semgrep_web_app/models/update_policy_request.rb +113 -0
- data/lib/semgrep_web_app/models/update_project_request.rb +121 -0
- data/lib/semgrep_web_app/models/update_project_response.rb +73 -0
- data/lib/semgrep_web_app/models/usage.rb +99 -0
- data/lib/semgrep_web_app/models/validation_state.rb +45 -0
- data/lib/semgrep_web_app/models/validation_state2.rb +47 -0
- data/lib/semgrep_web_app/models/validation_state3.rb +48 -0
- data/lib/semgrep_web_app/models/verdict.rb +41 -0
- data/lib/semgrep_web_app/models/verdict1.rb +38 -0
- data/lib/semgrep_web_app/models/visibility.rb +42 -0
- data/lib/semgrep_web_app/utilities/date_time_helper.rb +11 -0
- data/lib/semgrep_web_app/utilities/file_wrapper.rb +28 -0
- data/lib/semgrep_web_app/utilities/union_type_lookup.rb +34 -0
- data/lib/semgrep_web_app.rb +245 -0
- metadata +283 -0
data/lib/semgrep_web_app/models/protos_openapi_v1_create_ticket_response_ticket_creation_success.rb
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# semgrep_web_app
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SemgrepWebApp
|
|
7
|
+
# ProtosOpenapiV1CreateTicketResponseTicketCreationSuccess Model.
|
|
8
|
+
class ProtosOpenapiV1CreateTicketResponseTicketCreationSuccess < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The external slug identifier for the ticket
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :external_slug
|
|
15
|
+
|
|
16
|
+
# List of issue IDs
|
|
17
|
+
# @return [Array[Integer]]
|
|
18
|
+
attr_accessor :issue_ids
|
|
19
|
+
|
|
20
|
+
# The ID of the created ticket
|
|
21
|
+
# @return [Integer]
|
|
22
|
+
attr_accessor :ticket_id
|
|
23
|
+
|
|
24
|
+
# The URL of the created ticket
|
|
25
|
+
# @return [String]
|
|
26
|
+
attr_accessor :ticket_url
|
|
27
|
+
|
|
28
|
+
# A mapping from model property names to API property names.
|
|
29
|
+
def self.names
|
|
30
|
+
@_hash = {} if @_hash.nil?
|
|
31
|
+
@_hash['external_slug'] = 'external_slug'
|
|
32
|
+
@_hash['issue_ids'] = 'issue_ids'
|
|
33
|
+
@_hash['ticket_id'] = 'ticket_id'
|
|
34
|
+
@_hash['ticket_url'] = 'ticket_url'
|
|
35
|
+
@_hash
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# An array for optional fields
|
|
39
|
+
def self.optionals
|
|
40
|
+
%w[
|
|
41
|
+
external_slug
|
|
42
|
+
issue_ids
|
|
43
|
+
ticket_id
|
|
44
|
+
ticket_url
|
|
45
|
+
]
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# An array for nullable fields
|
|
49
|
+
def self.nullables
|
|
50
|
+
[]
|
|
51
|
+
end
|
|
52
|
+
|
|
53
|
+
def initialize(external_slug: SKIP, issue_ids: SKIP, ticket_id: SKIP,
|
|
54
|
+
ticket_url: SKIP, additional_properties: nil)
|
|
55
|
+
# Add additional model properties to the instance
|
|
56
|
+
additional_properties = {} if additional_properties.nil?
|
|
57
|
+
|
|
58
|
+
@external_slug = external_slug unless external_slug == SKIP
|
|
59
|
+
@issue_ids = issue_ids unless issue_ids == SKIP
|
|
60
|
+
@ticket_id = ticket_id unless ticket_id == SKIP
|
|
61
|
+
@ticket_url = ticket_url unless ticket_url == SKIP
|
|
62
|
+
@additional_properties = additional_properties
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
# Creates an instance of the object from a hash.
|
|
66
|
+
def self.from_hash(hash)
|
|
67
|
+
return nil unless hash
|
|
68
|
+
|
|
69
|
+
# Extract variables from the hash.
|
|
70
|
+
external_slug = hash.key?('external_slug') ? hash['external_slug'] : SKIP
|
|
71
|
+
issue_ids = hash.key?('issue_ids') ? hash['issue_ids'] : SKIP
|
|
72
|
+
ticket_id = hash.key?('ticket_id') ? hash['ticket_id'] : SKIP
|
|
73
|
+
ticket_url = hash.key?('ticket_url') ? hash['ticket_url'] : SKIP
|
|
74
|
+
|
|
75
|
+
# Create a new hash for additional properties, removing known properties.
|
|
76
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
77
|
+
|
|
78
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
79
|
+
new_hash, proc { |value| value }
|
|
80
|
+
)
|
|
81
|
+
|
|
82
|
+
# Create object from extracted values.
|
|
83
|
+
ProtosOpenapiV1CreateTicketResponseTicketCreationSuccess.new(external_slug: external_slug,
|
|
84
|
+
issue_ids: issue_ids,
|
|
85
|
+
ticket_id: ticket_id,
|
|
86
|
+
ticket_url: ticket_url,
|
|
87
|
+
additional_properties: additional_properties)
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
# Provides a human-readable string representation of the object.
|
|
91
|
+
def to_s
|
|
92
|
+
class_name = self.class.name.split('::').last
|
|
93
|
+
"<#{class_name} external_slug: #{@external_slug}, issue_ids: #{@issue_ids}, ticket_id:"\
|
|
94
|
+
" #{@ticket_id}, ticket_url: #{@ticket_url}, additional_properties:"\
|
|
95
|
+
" #{@additional_properties}>"
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
99
|
+
def inspect
|
|
100
|
+
class_name = self.class.name.split('::').last
|
|
101
|
+
"<#{class_name} external_slug: #{@external_slug.inspect}, issue_ids: #{@issue_ids.inspect},"\
|
|
102
|
+
" ticket_id: #{@ticket_id.inspect}, ticket_url: #{@ticket_url.inspect},"\
|
|
103
|
+
" additional_properties: #{@additional_properties}>"
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
# semgrep_web_app
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SemgrepWebApp
|
|
7
|
+
# ProtosOpenapiV1DeleteTicketResponse Model.
|
|
8
|
+
class ProtosOpenapiV1DeleteTicketResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# List of issue IDs unlinked from ticket
|
|
13
|
+
# @return [Array[String]]
|
|
14
|
+
attr_accessor :issue_ids
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['issue_ids'] = 'issueIds'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
issue_ids
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(issue_ids: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@issue_ids = issue_ids unless issue_ids == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
issue_ids = hash.key?('issueIds') ? hash['issueIds'] : SKIP
|
|
49
|
+
|
|
50
|
+
# Create a new hash for additional properties, removing known properties.
|
|
51
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
52
|
+
|
|
53
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
54
|
+
new_hash, proc { |value| value }
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Create object from extracted values.
|
|
58
|
+
ProtosOpenapiV1DeleteTicketResponse.new(issue_ids: issue_ids,
|
|
59
|
+
additional_properties: additional_properties)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Provides a human-readable string representation of the object.
|
|
63
|
+
def to_s
|
|
64
|
+
class_name = self.class.name.split('::').last
|
|
65
|
+
"<#{class_name} issue_ids: #{@issue_ids}, additional_properties:"\
|
|
66
|
+
" #{@additional_properties}>"
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
70
|
+
def inspect
|
|
71
|
+
class_name = self.class.name.split('::').last
|
|
72
|
+
"<#{class_name} issue_ids: #{@issue_ids.inspect}, additional_properties:"\
|
|
73
|
+
" #{@additional_properties}>"
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# semgrep_web_app
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SemgrepWebApp
|
|
7
|
+
# ProtosOpenapiV1DiffScan Model.
|
|
8
|
+
class ProtosOpenapiV1DiffScan < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# When true, diff-aware scans are enabled for the project.
|
|
13
|
+
# @return [TrueClass | FalseClass]
|
|
14
|
+
attr_accessor :enabled
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['enabled'] = 'enabled'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
enabled
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(enabled: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@enabled = enabled unless enabled == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
enabled = hash.key?('enabled') ? hash['enabled'] : SKIP
|
|
49
|
+
|
|
50
|
+
# Create a new hash for additional properties, removing known properties.
|
|
51
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
52
|
+
|
|
53
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
54
|
+
new_hash, proc { |value| value }
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Create object from extracted values.
|
|
58
|
+
ProtosOpenapiV1DiffScan.new(enabled: enabled,
|
|
59
|
+
additional_properties: additional_properties)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Provides a human-readable string representation of the object.
|
|
63
|
+
def to_s
|
|
64
|
+
class_name = self.class.name.split('::').last
|
|
65
|
+
"<#{class_name} enabled: #{@enabled}, additional_properties: #{@additional_properties}>"
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
69
|
+
def inspect
|
|
70
|
+
class_name = self.class.name.split('::').last
|
|
71
|
+
"<#{class_name} enabled: #{@enabled.inspect}, additional_properties:"\
|
|
72
|
+
" #{@additional_properties}>"
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# semgrep_web_app
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SemgrepWebApp
|
|
7
|
+
# ProtosOpenapiV1FullScan Model.
|
|
8
|
+
class ProtosOpenapiV1FullScan < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# When true, weekly full scans are enabled.
|
|
13
|
+
# @return [TrueClass | FalseClass]
|
|
14
|
+
attr_accessor :enabled
|
|
15
|
+
|
|
16
|
+
# A mapping from model property names to API property names.
|
|
17
|
+
def self.names
|
|
18
|
+
@_hash = {} if @_hash.nil?
|
|
19
|
+
@_hash['enabled'] = 'enabled'
|
|
20
|
+
@_hash
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# An array for optional fields
|
|
24
|
+
def self.optionals
|
|
25
|
+
%w[
|
|
26
|
+
enabled
|
|
27
|
+
]
|
|
28
|
+
end
|
|
29
|
+
|
|
30
|
+
# An array for nullable fields
|
|
31
|
+
def self.nullables
|
|
32
|
+
[]
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def initialize(enabled: SKIP, additional_properties: nil)
|
|
36
|
+
# Add additional model properties to the instance
|
|
37
|
+
additional_properties = {} if additional_properties.nil?
|
|
38
|
+
|
|
39
|
+
@enabled = enabled unless enabled == SKIP
|
|
40
|
+
@additional_properties = additional_properties
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
# Creates an instance of the object from a hash.
|
|
44
|
+
def self.from_hash(hash)
|
|
45
|
+
return nil unless hash
|
|
46
|
+
|
|
47
|
+
# Extract variables from the hash.
|
|
48
|
+
enabled = hash.key?('enabled') ? hash['enabled'] : SKIP
|
|
49
|
+
|
|
50
|
+
# Create a new hash for additional properties, removing known properties.
|
|
51
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
52
|
+
|
|
53
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
54
|
+
new_hash, proc { |value| value }
|
|
55
|
+
)
|
|
56
|
+
|
|
57
|
+
# Create object from extracted values.
|
|
58
|
+
ProtosOpenapiV1FullScan.new(enabled: enabled,
|
|
59
|
+
additional_properties: additional_properties)
|
|
60
|
+
end
|
|
61
|
+
|
|
62
|
+
# Provides a human-readable string representation of the object.
|
|
63
|
+
def to_s
|
|
64
|
+
class_name = self.class.name.split('::').last
|
|
65
|
+
"<#{class_name} enabled: #{@enabled}, additional_properties: #{@additional_properties}>"
|
|
66
|
+
end
|
|
67
|
+
|
|
68
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
69
|
+
def inspect
|
|
70
|
+
class_name = self.class.name.split('::').last
|
|
71
|
+
"<#{class_name} enabled: #{@enabled.inspect}, additional_properties:"\
|
|
72
|
+
" #{@additional_properties}>"
|
|
73
|
+
end
|
|
74
|
+
end
|
|
75
|
+
end
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# semgrep_web_app
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SemgrepWebApp
|
|
7
|
+
# ProtosOpenapiV1GetBootstrapSmsVpcResponse Model.
|
|
8
|
+
class ProtosOpenapiV1GetBootstrapSmsVpcResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# The AWSTemplateFormatVersion that the template conforms to
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :aws_template_format_version
|
|
15
|
+
|
|
16
|
+
# Template description
|
|
17
|
+
# @return [String]
|
|
18
|
+
attr_accessor :description
|
|
19
|
+
|
|
20
|
+
# Template metadata including version and last updated date
|
|
21
|
+
# @return [Object]
|
|
22
|
+
attr_accessor :metadata
|
|
23
|
+
|
|
24
|
+
# Output values of the stack
|
|
25
|
+
# @return [Object]
|
|
26
|
+
attr_accessor :outputs
|
|
27
|
+
|
|
28
|
+
# Template parameters
|
|
29
|
+
# @return [Object]
|
|
30
|
+
attr_accessor :parameters
|
|
31
|
+
|
|
32
|
+
# Declaration of AWS resources
|
|
33
|
+
# @return [Object]
|
|
34
|
+
attr_accessor :resources
|
|
35
|
+
|
|
36
|
+
# A mapping from model property names to API property names.
|
|
37
|
+
def self.names
|
|
38
|
+
@_hash = {} if @_hash.nil?
|
|
39
|
+
@_hash['aws_template_format_version'] = 'AWSTemplateFormatVersion'
|
|
40
|
+
@_hash['description'] = 'Description'
|
|
41
|
+
@_hash['metadata'] = 'Metadata'
|
|
42
|
+
@_hash['outputs'] = 'Outputs'
|
|
43
|
+
@_hash['parameters'] = 'Parameters'
|
|
44
|
+
@_hash['resources'] = 'Resources'
|
|
45
|
+
@_hash
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# An array for optional fields
|
|
49
|
+
def self.optionals
|
|
50
|
+
%w[
|
|
51
|
+
aws_template_format_version
|
|
52
|
+
description
|
|
53
|
+
metadata
|
|
54
|
+
outputs
|
|
55
|
+
parameters
|
|
56
|
+
resources
|
|
57
|
+
]
|
|
58
|
+
end
|
|
59
|
+
|
|
60
|
+
# An array for nullable fields
|
|
61
|
+
def self.nullables
|
|
62
|
+
[]
|
|
63
|
+
end
|
|
64
|
+
|
|
65
|
+
def initialize(aws_template_format_version: SKIP, description: SKIP,
|
|
66
|
+
metadata: SKIP, outputs: SKIP, parameters: SKIP,
|
|
67
|
+
resources: SKIP, additional_properties: nil)
|
|
68
|
+
# Add additional model properties to the instance
|
|
69
|
+
additional_properties = {} if additional_properties.nil?
|
|
70
|
+
|
|
71
|
+
unless aws_template_format_version == SKIP
|
|
72
|
+
@aws_template_format_version =
|
|
73
|
+
aws_template_format_version
|
|
74
|
+
end
|
|
75
|
+
@description = description unless description == SKIP
|
|
76
|
+
@metadata = metadata unless metadata == SKIP
|
|
77
|
+
@outputs = outputs unless outputs == SKIP
|
|
78
|
+
@parameters = parameters unless parameters == SKIP
|
|
79
|
+
@resources = resources unless resources == SKIP
|
|
80
|
+
@additional_properties = additional_properties
|
|
81
|
+
end
|
|
82
|
+
|
|
83
|
+
# Creates an instance of the object from a hash.
|
|
84
|
+
def self.from_hash(hash)
|
|
85
|
+
return nil unless hash
|
|
86
|
+
|
|
87
|
+
# Extract variables from the hash.
|
|
88
|
+
aws_template_format_version =
|
|
89
|
+
hash.key?('AWSTemplateFormatVersion') ? hash['AWSTemplateFormatVersion'] : SKIP
|
|
90
|
+
description = hash.key?('Description') ? hash['Description'] : SKIP
|
|
91
|
+
metadata = hash.key?('Metadata') ? hash['Metadata'] : SKIP
|
|
92
|
+
outputs = hash.key?('Outputs') ? hash['Outputs'] : SKIP
|
|
93
|
+
parameters = hash.key?('Parameters') ? hash['Parameters'] : SKIP
|
|
94
|
+
resources = hash.key?('Resources') ? hash['Resources'] : SKIP
|
|
95
|
+
|
|
96
|
+
# Create a new hash for additional properties, removing known properties.
|
|
97
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
98
|
+
|
|
99
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
100
|
+
new_hash, proc { |value| value }
|
|
101
|
+
)
|
|
102
|
+
|
|
103
|
+
# Create object from extracted values.
|
|
104
|
+
ProtosOpenapiV1GetBootstrapSmsVpcResponse.new(aws_template_format_version: aws_template_format_version,
|
|
105
|
+
description: description,
|
|
106
|
+
metadata: metadata,
|
|
107
|
+
outputs: outputs,
|
|
108
|
+
parameters: parameters,
|
|
109
|
+
resources: resources,
|
|
110
|
+
additional_properties: additional_properties)
|
|
111
|
+
end
|
|
112
|
+
|
|
113
|
+
# Provides a human-readable string representation of the object.
|
|
114
|
+
def to_s
|
|
115
|
+
class_name = self.class.name.split('::').last
|
|
116
|
+
"<#{class_name} aws_template_format_version: #{@aws_template_format_version}, description:"\
|
|
117
|
+
" #{@description}, metadata: #{@metadata}, outputs: #{@outputs}, parameters: #{@parameters},"\
|
|
118
|
+
" resources: #{@resources}, additional_properties: #{@additional_properties}>"
|
|
119
|
+
end
|
|
120
|
+
|
|
121
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
122
|
+
def inspect
|
|
123
|
+
class_name = self.class.name.split('::').last
|
|
124
|
+
"<#{class_name} aws_template_format_version: #{@aws_template_format_version.inspect},"\
|
|
125
|
+
" description: #{@description.inspect}, metadata: #{@metadata.inspect}, outputs:"\
|
|
126
|
+
" #{@outputs.inspect}, parameters: #{@parameters.inspect}, resources: #{@resources.inspect},"\
|
|
127
|
+
" additional_properties: #{@additional_properties}>"
|
|
128
|
+
end
|
|
129
|
+
end
|
|
130
|
+
end
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
# semgrep_web_app
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by APIMATIC v3.0 (
|
|
4
|
+
# https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module SemgrepWebApp
|
|
7
|
+
# ProtosOpenapiV1GetScanResponse Model.
|
|
8
|
+
class ProtosOpenapiV1GetScanResponse < BaseModel
|
|
9
|
+
SKIP = Object.new
|
|
10
|
+
private_constant :SKIP
|
|
11
|
+
|
|
12
|
+
# imestamp of when the scan started.
|
|
13
|
+
# @return [String]
|
|
14
|
+
attr_accessor :completed_at
|
|
15
|
+
|
|
16
|
+
# The unique ID of the deployment associated with the scanned repository.
|
|
17
|
+
# @return [Integer]
|
|
18
|
+
attr_accessor :deployment_id
|
|
19
|
+
|
|
20
|
+
# The products used when running the scan.
|
|
21
|
+
# @return [Array[String]]
|
|
22
|
+
attr_accessor :enabled_products
|
|
23
|
+
|
|
24
|
+
# The products used when running the scan.
|
|
25
|
+
# @return [Integer]
|
|
26
|
+
attr_accessor :exit_code
|
|
27
|
+
|
|
28
|
+
# The products used when running the scan.
|
|
29
|
+
# @return [TrueClass | FalseClass]
|
|
30
|
+
attr_accessor :has_logs
|
|
31
|
+
|
|
32
|
+
# The unique ID representing this scan.
|
|
33
|
+
# @return [Integer]
|
|
34
|
+
attr_accessor :id
|
|
35
|
+
|
|
36
|
+
# The unique ID representing this scan.
|
|
37
|
+
# @return [ProtosOpenapiV1GetScanResponseScanMeta]
|
|
38
|
+
attr_accessor :meta
|
|
39
|
+
|
|
40
|
+
# The unique ID of the repository that was scanned.
|
|
41
|
+
# @return [Integer]
|
|
42
|
+
attr_accessor :repository_id
|
|
43
|
+
|
|
44
|
+
# when the scan was started
|
|
45
|
+
# @return [String]
|
|
46
|
+
attr_accessor :started_at
|
|
47
|
+
|
|
48
|
+
# Miscellaneous statistics about the scan, like number of findings found and
|
|
49
|
+
# scan duration.
|
|
50
|
+
# @return [Object]
|
|
51
|
+
attr_accessor :stats
|
|
52
|
+
|
|
53
|
+
# A mapping from model property names to API property names.
|
|
54
|
+
def self.names
|
|
55
|
+
@_hash = {} if @_hash.nil?
|
|
56
|
+
@_hash['completed_at'] = 'completed_at'
|
|
57
|
+
@_hash['deployment_id'] = 'deployment_id'
|
|
58
|
+
@_hash['enabled_products'] = 'enabled_products'
|
|
59
|
+
@_hash['exit_code'] = 'exit_code'
|
|
60
|
+
@_hash['has_logs'] = 'has_logs'
|
|
61
|
+
@_hash['id'] = 'id'
|
|
62
|
+
@_hash['meta'] = 'meta'
|
|
63
|
+
@_hash['repository_id'] = 'repository_id'
|
|
64
|
+
@_hash['started_at'] = 'started_at'
|
|
65
|
+
@_hash['stats'] = 'stats'
|
|
66
|
+
@_hash
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# An array for optional fields
|
|
70
|
+
def self.optionals
|
|
71
|
+
%w[
|
|
72
|
+
completed_at
|
|
73
|
+
deployment_id
|
|
74
|
+
enabled_products
|
|
75
|
+
exit_code
|
|
76
|
+
has_logs
|
|
77
|
+
id
|
|
78
|
+
meta
|
|
79
|
+
repository_id
|
|
80
|
+
started_at
|
|
81
|
+
stats
|
|
82
|
+
]
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# An array for nullable fields
|
|
86
|
+
def self.nullables
|
|
87
|
+
[]
|
|
88
|
+
end
|
|
89
|
+
|
|
90
|
+
def initialize(completed_at: SKIP, deployment_id: SKIP,
|
|
91
|
+
enabled_products: SKIP, exit_code: SKIP, has_logs: SKIP,
|
|
92
|
+
id: SKIP, meta: SKIP, repository_id: SKIP, started_at: SKIP,
|
|
93
|
+
stats: SKIP, additional_properties: nil)
|
|
94
|
+
# Add additional model properties to the instance
|
|
95
|
+
additional_properties = {} if additional_properties.nil?
|
|
96
|
+
|
|
97
|
+
@completed_at = completed_at unless completed_at == SKIP
|
|
98
|
+
@deployment_id = deployment_id unless deployment_id == SKIP
|
|
99
|
+
@enabled_products = enabled_products unless enabled_products == SKIP
|
|
100
|
+
@exit_code = exit_code unless exit_code == SKIP
|
|
101
|
+
@has_logs = has_logs unless has_logs == SKIP
|
|
102
|
+
@id = id unless id == SKIP
|
|
103
|
+
@meta = meta unless meta == SKIP
|
|
104
|
+
@repository_id = repository_id unless repository_id == SKIP
|
|
105
|
+
@started_at = started_at unless started_at == SKIP
|
|
106
|
+
@stats = stats unless stats == SKIP
|
|
107
|
+
@additional_properties = additional_properties
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
# Creates an instance of the object from a hash.
|
|
111
|
+
def self.from_hash(hash)
|
|
112
|
+
return nil unless hash
|
|
113
|
+
|
|
114
|
+
# Extract variables from the hash.
|
|
115
|
+
completed_at = hash.key?('completed_at') ? hash['completed_at'] : SKIP
|
|
116
|
+
deployment_id = hash.key?('deployment_id') ? hash['deployment_id'] : SKIP
|
|
117
|
+
enabled_products =
|
|
118
|
+
hash.key?('enabled_products') ? hash['enabled_products'] : SKIP
|
|
119
|
+
exit_code = hash.key?('exit_code') ? hash['exit_code'] : SKIP
|
|
120
|
+
has_logs = hash.key?('has_logs') ? hash['has_logs'] : SKIP
|
|
121
|
+
id = hash.key?('id') ? hash['id'] : SKIP
|
|
122
|
+
meta = ProtosOpenapiV1GetScanResponseScanMeta.from_hash(hash['meta']) if hash['meta']
|
|
123
|
+
repository_id = hash.key?('repository_id') ? hash['repository_id'] : SKIP
|
|
124
|
+
started_at = hash.key?('started_at') ? hash['started_at'] : SKIP
|
|
125
|
+
stats = hash.key?('stats') ? hash['stats'] : SKIP
|
|
126
|
+
|
|
127
|
+
# Create a new hash for additional properties, removing known properties.
|
|
128
|
+
new_hash = hash.reject { |k, _| names.value?(k) }
|
|
129
|
+
|
|
130
|
+
additional_properties = APIHelper.get_additional_properties(
|
|
131
|
+
new_hash, proc { |value| value }
|
|
132
|
+
)
|
|
133
|
+
|
|
134
|
+
# Create object from extracted values.
|
|
135
|
+
ProtosOpenapiV1GetScanResponse.new(completed_at: completed_at,
|
|
136
|
+
deployment_id: deployment_id,
|
|
137
|
+
enabled_products: enabled_products,
|
|
138
|
+
exit_code: exit_code,
|
|
139
|
+
has_logs: has_logs,
|
|
140
|
+
id: id,
|
|
141
|
+
meta: meta,
|
|
142
|
+
repository_id: repository_id,
|
|
143
|
+
started_at: started_at,
|
|
144
|
+
stats: stats,
|
|
145
|
+
additional_properties: additional_properties)
|
|
146
|
+
end
|
|
147
|
+
|
|
148
|
+
# Provides a human-readable string representation of the object.
|
|
149
|
+
def to_s
|
|
150
|
+
class_name = self.class.name.split('::').last
|
|
151
|
+
"<#{class_name} completed_at: #{@completed_at}, deployment_id: #{@deployment_id},"\
|
|
152
|
+
" enabled_products: #{@enabled_products}, exit_code: #{@exit_code}, has_logs: #{@has_logs},"\
|
|
153
|
+
" id: #{@id}, meta: #{@meta}, repository_id: #{@repository_id}, started_at: #{@started_at},"\
|
|
154
|
+
" stats: #{@stats}, additional_properties: #{@additional_properties}>"
|
|
155
|
+
end
|
|
156
|
+
|
|
157
|
+
# Provides a debugging-friendly string with detailed object information.
|
|
158
|
+
def inspect
|
|
159
|
+
class_name = self.class.name.split('::').last
|
|
160
|
+
"<#{class_name} completed_at: #{@completed_at.inspect}, deployment_id:"\
|
|
161
|
+
" #{@deployment_id.inspect}, enabled_products: #{@enabled_products.inspect}, exit_code:"\
|
|
162
|
+
" #{@exit_code.inspect}, has_logs: #{@has_logs.inspect}, id: #{@id.inspect}, meta:"\
|
|
163
|
+
" #{@meta.inspect}, repository_id: #{@repository_id.inspect}, started_at:"\
|
|
164
|
+
" #{@started_at.inspect}, stats: #{@stats.inspect}, additional_properties:"\
|
|
165
|
+
" #{@additional_properties}>"
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
end
|