C# Class gdapi.ItemResource

Inheritance: Resource
Afficher le fichier Open project: godaddy/gdapi-csharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Constructs a new Resource
public ItemResource ( ) : System.Collections.Generic
Résultat System.Collections.Generic

ItemResource() public méthode

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
Résultat System.Collections.Generic

getAction() public méthode

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

hasAction() public méthode

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