Lines Matching refs:kind
105 kind = 'singleResource'
107 kind = 'resourceInstance'
109 return self.put(f'/clients/{endpoint}/{path}', self._define_resource(rid, value, kind))
183 kind = 'multiResource'
185 kind = 'singleResource'
186 data['resources'].append(cls._define_resource(key, value, kind))
190 def _define_resource(cls, rid, value, kind='singleResource'): argument
192 if kind in ('singleResource', 'resourceInstance'):
195 "kind": kind,
199 if kind == 'multiResource':
202 "kind": kind,
353 value = self._define_resource(rid, value, kind='multiResource')
357 value = self._define_resource(rid, value, kind='resourceInstance')