$this->id, 'name' => $this->name, 'type' => $this->type, 'is_global' => $this->is_global, 'is_required' => $this->is_required, 'values' => OptionValueResource::collection($this->values), ]; } }