internal bool IsSetResourceTypes() { return this._resourceTypes != null && this._resourceTypes.Count > 0; }