Class YMKSearchCollectionObjectMetadata

Contains information about a collection.

Class Methods

Properties

id

Machine readable collection identifier.

photoUrlTemplate

Collection photo URL.

properties

Some additional collection properties.

Method Detail

+collectionObjectMetadataWithId:photoUrlTemplate:properties:

+ (nonnull YMKSearchCollectionObjectMetadata *)collectionObjectMetadataWithId:(nonnull NSString *)id
                                                             photoUrlTemplate:(nullable NSString *)photoUrlTemplate
                                                                   properties:(nonnull NSArray< YMKSearchKeyValuePair * > *)properties 

Property Detail

id

(assign, readonly) NSString * id

Machine readable collection identifier.

photoUrlTemplate

(assign, readonly) NSString * photoUrlTemplate

Collection photo URL.

Optional property, can be null.

properties

(assign, readonly) NSArray< YMKSearchKeyValuePair * > * properties

Some additional collection properties.

For example, [ {"key": "short_title", "value": "Лучшие места для ужина"}, {"key": "subtitle", "value": "15 мест"}, ].