refactor: object property names
Signed-off-by: Sebastian Krupinski <krupinski01@gmail.com>
This commit is contained in:
@@ -16,10 +16,10 @@ interface ResourceProviderBaseInterface extends ProviderInterface, JsonSerializa
|
||||
public const CAPABILITY_SERVICE_EXTANT = 'ServiceExtant';
|
||||
|
||||
public const JSON_TYPE = 'resource.provider';
|
||||
public const JSON_PROPERTY_TYPE = '@type';
|
||||
public const JSON_PROPERTY_IDENTIFIER = 'identifier';
|
||||
public const JSON_PROPERTY_LABEL = 'label';
|
||||
public const JSON_PROPERTY_CAPABILITIES = 'capabilities';
|
||||
public const PROPERTY_TYPE = '@type';
|
||||
public const PROPERTY_IDENTIFIER = 'identifier';
|
||||
public const PROPERTY_LABEL = 'label';
|
||||
public const PROPERTY_CAPABILITIES = 'capabilities';
|
||||
|
||||
/**
|
||||
* Confirms if specific capability is supported (e.g. 'ServiceList')
|
||||
|
||||
@@ -10,15 +10,15 @@ interface ResourceServiceBaseInterface extends JsonSerializable {
|
||||
|
||||
// JSON Constants
|
||||
public const JSON_TYPE = 'resource.service';
|
||||
public const JSON_PROPERTY_TYPE = '@type';
|
||||
public const JSON_PROPERTY_PROVIDER = 'provider';
|
||||
public const JSON_PROPERTY_IDENTIFIER = 'identifier';
|
||||
public const JSON_PROPERTY_LABEL = 'label';
|
||||
public const JSON_PROPERTY_ENABLED = 'enabled';
|
||||
public const JSON_PROPERTY_CAPABILITIES = 'capabilities';
|
||||
public const JSON_PROPERTY_LOCATION = 'location';
|
||||
public const JSON_PROPERTY_IDENTITY = 'identity';
|
||||
public const JSON_PROPERTY_AUXILIARY = 'auxiliary';
|
||||
public const PROPERTY_TYPE = '@type';
|
||||
public const PROPERTY_PROVIDER = 'provider';
|
||||
public const PROPERTY_IDENTIFIER = 'identifier';
|
||||
public const PROPERTY_LABEL = 'label';
|
||||
public const PROPERTY_ENABLED = 'enabled';
|
||||
public const PROPERTY_CAPABILITIES = 'capabilities';
|
||||
public const PROPERTY_LOCATION = 'location';
|
||||
public const PROPERTY_IDENTITY = 'identity';
|
||||
public const PROPERTY_AUXILIARY = 'auxiliary';
|
||||
|
||||
/**
|
||||
* Confirms if specific capability is supported
|
||||
|
||||
Reference in New Issue
Block a user