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