Class LimitedResponseCountAttribute
Attribute used to mark properties that provide only a limited number of items in a standard model response
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class LimitedResponseCountAttribute : Attribute
Constructors
LimitedResponseCountAttribute(int)
Constructor of this attribute
Declaration
public LimitedResponseCountAttribute(int maxCount)
Parameters
| Type | Name | Description |
|---|---|---|
| int | maxCount | Maximum number of items reported by default |
Properties
MaxCount
Indicates how many items are included max in a standard response
Declaration
public int MaxCount { get; set; }
Property Value
| Type | Description |
|---|---|
| int |