Table of Contents

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

maxCount int

Maximum number of items reported by default

Properties

MaxCount

Indicates how many items are included max in a standard response

public int MaxCount { get; set; }

Property Value

int