Class GetArticlesBuilder
Builder for the class GetArticles
Inheritance
Namespace: HuduAPI.Endpoints.Parameters
Assembly: HuduAPI.dll
Syntax
public class GetArticlesBuilder
Constructors
GetArticlesBuilder()
Create a new instance for the GetArticlesBuilder
Declaration
public GetArticlesBuilder()
Methods
Build()
Build a class of type GetArticles with all the defined values
Declaration
public GetArticles Build()
Returns
| Type | Description |
|---|---|
| GetArticles | Returns a GetArticles class |
Reset()
Reset all properties' to the default value
Declaration
public GetArticlesBuilder Reset()
Returns
| Type | Description |
|---|---|
| GetArticlesBuilder | Returns the GetArticlesBuilder with the properties reseted |
WithCompanyID(Int32)
Set a value of type System.Int32 for the property companyID
Declaration
public GetArticlesBuilder WithCompanyID(int companyID)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | companyID | A value of type System.Int32 that will be defined for the property |
Returns
| Type | Description |
|---|---|
| GetArticlesBuilder | Returns the GetArticlesBuilder with the property
|
WithName(String)
Set a value of type System.String for the property name
Declaration
public GetArticlesBuilder WithName(string name)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | A value of type System.String that will be defined for the property |
Returns
| Type | Description |
|---|---|
| GetArticlesBuilder | Returns the GetArticlesBuilder with the property
|
WithPage(Int32)
Set a value of type System.Int32 for the property page
Declaration
public GetArticlesBuilder WithPage(int page)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | page | A value of type System.Int32 that will be defined for the property |
Returns
| Type | Description |
|---|---|
| GetArticlesBuilder | Returns the GetArticlesBuilder with the property
|
WithPageSize(Int32)
Set a value of type System.Int32 for the property pageSize
Declaration
public GetArticlesBuilder WithPageSize(int pageSize)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | pageSize | A value of type System.Int32 that will be defined for the property |
Returns
| Type | Description |
|---|---|
| GetArticlesBuilder | Returns the GetArticlesBuilder with the property
|