lib/cloudsmith-api/models/package_copy.rb in cloudsmith-api-1.42.3 vs lib/cloudsmith-api/models/package_copy.rb in cloudsmith-api-1.61.3
- old
+ new
@@ -73,10 +73,16 @@
#
attr_accessor :indexed
#
+ attr_accessor :is_downloadable
+
+ #
+ attr_accessor :is_quarantined
+
+ #
attr_accessor :is_sync_awaiting
#
attr_accessor :is_sync_completed
@@ -230,10 +236,12 @@
:'files' => :'files',
:'format' => :'format',
:'format_url' => :'format_url',
:'identifier_perm' => :'identifier_perm',
:'indexed' => :'indexed',
+ :'is_downloadable' => :'is_downloadable',
+ :'is_quarantined' => :'is_quarantined',
:'is_sync_awaiting' => :'is_sync_awaiting',
:'is_sync_completed' => :'is_sync_completed',
:'is_sync_failed' => :'is_sync_failed',
:'is_sync_in_flight' => :'is_sync_in_flight',
:'is_sync_in_progress' => :'is_sync_in_progress',
@@ -301,10 +309,12 @@
:'files' => :'Array<PackagesownerrepoFiles>',
:'format' => :'String',
:'format_url' => :'String',
:'identifier_perm' => :'String',
:'indexed' => :'BOOLEAN',
+ :'is_downloadable' => :'BOOLEAN',
+ :'is_quarantined' => :'BOOLEAN',
:'is_sync_awaiting' => :'BOOLEAN',
:'is_sync_completed' => :'BOOLEAN',
:'is_sync_failed' => :'BOOLEAN',
:'is_sync_in_flight' => :'BOOLEAN',
:'is_sync_in_progress' => :'BOOLEAN',
@@ -441,10 +451,18 @@
if attributes.has_key?(:'indexed')
self.indexed = attributes[:'indexed']
end
+ if attributes.has_key?(:'is_downloadable')
+ self.is_downloadable = attributes[:'is_downloadable']
+ end
+
+ if attributes.has_key?(:'is_quarantined')
+ self.is_quarantined = attributes[:'is_quarantined']
+ end
+
if attributes.has_key?(:'is_sync_awaiting')
self.is_sync_awaiting = attributes[:'is_sync_awaiting']
end
if attributes.has_key?(:'is_sync_completed')
@@ -660,10 +678,12 @@
files == o.files &&
format == o.format &&
format_url == o.format_url &&
identifier_perm == o.identifier_perm &&
indexed == o.indexed &&
+ is_downloadable == o.is_downloadable &&
+ is_quarantined == o.is_quarantined &&
is_sync_awaiting == o.is_sync_awaiting &&
is_sync_completed == o.is_sync_completed &&
is_sync_failed == o.is_sync_failed &&
is_sync_in_flight == o.is_sync_in_flight &&
is_sync_in_progress == o.is_sync_in_progress &&
@@ -716,10 +736,10 @@
end
# Calculates hash code according to all attributes.
# @return [Fixnum] Hash code
def hash
- [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
+ [architectures, cdn_url, checksum_md5, checksum_sha1, checksum_sha256, checksum_sha512, dependencies_checksum_md5, dependencies_url, description, distro, distro_version, downloads, epoch, extension, filename, files, format, format_url, identifier_perm, indexed, is_downloadable, is_quarantined, is_sync_awaiting, is_sync_completed, is_sync_failed, is_sync_in_flight, is_sync_in_progress, license, name, namespace, namespace_url, num_files, package_type, release, repository, repository_url, security_scan_completed_at, security_scan_started_at, security_scan_status, security_scan_status_updated_at, self_html_url, self_url, signature_url, size, slug, slug_perm, stage, stage_str, stage_updated_at, status, status_reason, status_str, status_updated_at, status_url, subtype, summary, sync_finished_at, sync_progress, tags, tags_immutable, type_display, uploaded_at, uploader, uploader_url, version, version_orig, vulnerability_scan_results_url].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself