REST resource metadata object.
Members
Name | Description | |
---|---|---|
AddOperation | Adds child operation. | |
AddResource | Adds child resource. | |
FindChildOperation | Finds child operation, non-recursive. | |
FindChildResource | Finds child resource, non-recursive. | |
GetOperations | Returns enumerator for operations. | |
GetResources | Returns enumerator for immediate child resources. | |
IsCollection | Specifies collection resource. | |
IsCollection | Specifies collection resource. | |
IsDefaultCollection | Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL. | |
IsDefaultCollection | Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL. | |
IsStatic | This flag marks resources that do not change over time. | |
IsStatic | This flag marks resources that do not change over time. | |
Name | Resource name. Used in IRESTRequestHandler's schema generation and url parsing. | |
Name | Resource name. Used in IRESTRequestHandler's schema generation and url parsing. | |
RequiredCapability | Required capability for the resource. | |
RequiredCapability | Required capability for the resource. | |
SupportsETag | This flag is only for a root level resource. If this flag is true, IRRH implementation supports ETag. | |
SupportsETag | This flag is only for a root level resource. If this flag is true, IRRH implementation supports ETag. | |
ToJSONObject | Converts resource object to JSON representation. |
IRESTResource.AddOperation Method
Adds child operation.
Public Sub AddOperation ( _
    ByVal o As IRESTOperation _
)
public void AddOperation (
    IRESTOperation o
);
IRESTResource.AddResource Method
Adds child resource.
Public Sub AddResource ( _
    ByVal r As IRESTResource _
)
public void AddResource (
    IRESTResource r
);
IRESTResource.FindChildOperation Method
Finds child operation, non-recursive.
Public Function FindChildOperation ( _
    ByVal Name As String _
) As IRESTOperation
public IRESTOperation FindChildOperation (
    string Name
);
IRESTResource.FindChildResource Method
Finds child resource, non-recursive.
Public Function FindChildResource ( _
    ByVal Name As String _
) As IRESTResource
public IRESTResource FindChildResource (
    string Name
);
IRESTResource.GetOperations Method
Returns enumerator for operations.
Public Function GetOperations ( _
) As IEnumRESTOperation
public IEnumRESTOperation GetOperations (
);
IRESTResource.GetResources Method
Returns enumerator for immediate child resources.
Public Function GetResources ( _
) As IEnumRESTResource
public IEnumRESTResource GetResources (
);
IRESTResource.IsCollection Property
Specifies collection resource.
Public Property IsCollection As Boolean
public bool IsCollection {get; set;}
IRESTResource.IsCollection Property
Specifies collection resource.
Public Property IsCollection As Boolean
public bool IsCollection {get; set;}
IRESTResource.IsDefaultCollection Property
Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
Public Property IsDefaultCollection As Boolean
public bool IsDefaultCollection {get; set;}
IRESTResource.IsDefaultCollection Property
Specifies 'default' collection resource that can be accessed without explicitly using its name in the URL.
Public Property IsDefaultCollection As Boolean
public bool IsDefaultCollection {get; set;}
IRESTResource.IsStatic Property
This flag marks resources that do not change over time.
Public Property IsStatic As Boolean
public bool IsStatic {get; set;}
IRESTResource.IsStatic Property
This flag marks resources that do not change over time.
Public Property IsStatic As Boolean
public bool IsStatic {get; set;}
IRESTResource.Name Property
Resource name. Used in IRESTRequestHandler's schema generation and url parsing.
Public Property Name As String
public string Name {get; set;}
IRESTResource.Name Property
Resource name. Used in IRESTRequestHandler's schema generation and url parsing.
Public Property Name As String
public string Name {get; set;}
IRESTResource.RequiredCapability Property
Required capability for the resource.
Public Property RequiredCapability As String
public string RequiredCapability {get; set;}
IRESTResource.RequiredCapability Property
Required capability for the resource.
Public Property RequiredCapability As String
public string RequiredCapability {get; set;}
IRESTResource.SupportsETag Property
This flag is only for a root level resource. If this flag is true, IRRH implementation supports ETag.
Public Property SupportsETag As Boolean
public bool SupportsETag {get; set;}
IRESTResource.SupportsETag Property
This flag is only for a root level resource. If this flag is true, IRRH implementation supports ETag.
Public Property SupportsETag As Boolean
public bool SupportsETag {get; set;}
IRESTResource.ToJSONObject Method
Converts resource object to JSON representation.
Public Function ToJSONObject ( _
) As IJSONObject
public IJSONObject ToJSONObject (
);
Classes that implement IRESTResource
Classes | Description |
---|---|
CoRESTResource | IRESTResource coclass |