FarmLockOptions object

Example JSON representation

{
  "comment": "string",
  "unlockPermission": "owner",
  "user": {
    "id": 1
  }
}

Properties

property attributes valid values description filter option
comment
string
read-only

A brief comment or explanation.

unlockPermission
string
read-only
"owner"
"team"
"anyone"

The field may have a three possible values: 'owner', 'team' or 'anyone'. Owner - operation is allowed only for the owner of the Farm Team - operation is allowed only for the members of the Farm's Team. Anyone - operation is allowed for anybody who has access permissions to Farms.

user
UserForeignKey object
read-only

The identifier of the User who locked a Farm.