CloudBees CD/RO Groovy API commands / Sort

Sort

Sort criterion consisting of a property name and a sort order - either an ascending or descending sort order.
propertyName
Stringoptional
order
Stringoptional
Possible values: "asc", "desc"

Usage

Groovy

import com.electriccloud.client.groovy.models.Sort def arg = new Sort( /* optional arguments */ )