Class IrbExchangeEndpoint
Exposes IrbExchangeEndpoint entity type instances.
Inheritance
System.Object
Namespace:Portal.IrbExchange
Assembly:Portal.IrbExchange.dll
Syntax
public class IrbExchangeEndpoint : Click.Portal.Entity
Properties
BaseUrl
The endpoint url including protocol
Declaration
public string BaseUrl { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Default
The default endpoint name to use on this server
Declaration
public static string Default { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Extent
Gets the extent of IrbExchangeEndpoint instances.
Declaration
public static IEntityQuery<IrbExchangeEndpoint> Extent { get; }
Property Value
| Type | Description |
|---|---|
| IEntityQuery<IrbExchangeEndpoint> |
Name
Friendly name for the endpoint
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
Get(String)
Gets the endpoint matching the name passed in
Declaration
public static IrbExchangeEndpoint Get(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Name of the endpoint |
Returns
| Type | Description |
|---|---|
| IrbExchangeEndpoint | IrbExchangeEndpoint extent or null |
GetEntityType()
Gets the runtime EntityType of this instance.
Declaration
public IrbExchangeEndpoint.EntityType GetEntityType()
Returns
| Type | Description |
|---|---|
| IrbExchangeEndpoint.EntityType |
GetOrCreate(String, String)
Gets the endpoint matching the name passed in, or creates the endpoint if no match is found
Declaration
public static IrbExchangeEndpoint GetOrCreate(string name, string url)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Name of the endpoint |
| System.String | url | Url of the api |
Returns
| Type | Description |
|---|---|
| IrbExchangeEndpoint | IrbExchangeEndpoint extent |
SetDefault(String)
Sets the IrbExchangeEndpoint.default value if an entity with that name exists
Declaration
public static void SetDefault(string value)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | value | Name of IrbExchange to set as default |