C# Class gdapi.ItemResource

Inheritance: Resource
显示文件 Open project: godaddy/gdapi-csharp Class Usage Examples

Public Methods

Method Description
ItemResource ( ) : System.Collections.Generic

Constructs a new Resource

ItemResource ( string type ) : System.Collections.Generic

Creates a new Resource of a specific type. This constructor is usually used for creating a Resource to use for saving or deleting a Resource.

getAction ( string name ) : string

Gets the current action url if it exists.

hasAction ( string name ) : bool

Determines if a Resource can currently perform an action.

Method Details

ItemResource() public method

Constructs a new Resource
public ItemResource ( ) : System.Collections.Generic
return System.Collections.Generic

ItemResource() public method

Creates a new Resource of a specific type. This constructor is usually used for creating a Resource to use for saving or deleting a Resource.
public ItemResource ( string type ) : System.Collections.Generic
type string Resource type
return System.Collections.Generic

getAction() public method

Gets the current action url if it exists.
public getAction ( string name ) : string
name string Action to perform
return string

hasAction() public method

Determines if a Resource can currently perform an action.
public hasAction ( string name ) : bool
name string Action to perform
return bool