SEConsentListParams is a subclass of SEBaseConsentsParams, however dictionaryRepresentation method (of a protocol URLEncodable) takes properties only from SEConsentListParams class itself (it does not take inherited properties from SEBaseConsentsParams).
Lets say you create SEConsentListParams(perPage:"1000", connectionId:"someID"). When encoded to url it will look like ".../consents/?per_page=1000" - there will be no parameter connection_id in the URL.
As far as I can tell Mirror(reflecting:self) (used in URLEncodable.dictionaryRepresentation) takes properties only from self. Looks like one way to get properties from the parent class could be later calling mirror.superclassMirror and process it the same way as mirror.
SEConsentListParams
is a subclass ofSEBaseConsentsParams
, howeverdictionaryRepresentation
method (of a protocolURLEncodable
) takes properties only fromSEConsentListParams
class itself (it does not take inherited properties fromSEBaseConsentsParams
).Lets say you create
SEConsentListParams(perPage:"1000", connectionId:"someID")
. When encoded to url it will look like ".../consents/?per_page=1000
" - there will be no parameter connection_id in the URL.As far as I can tell
Mirror(reflecting:self)
(used inURLEncodable.dictionaryRepresentation
) takes properties only fromself
. Looks like one way to get properties from the parent class could be later callingmirror.superclassMirror
and process it the same way asmirror
.