/// <summary>
        /// Initializes the field settings.
        /// </summary>
        /// <returns>FieldConfig.</returns>
        internal FieldConfig InitializeFieldSettings()
        {
            FieldConfig config = null;

            if (this.InternalConfig == null)
            {
                this.InternalConfig = config = new FieldConfig();
            }
            else
            {
                config = this.InternalConfig;
            }


            if (this.InternalConfig.Settings == null)
            {
                this.InternalConfig.Settings = new JObject();
            }

            return(config);
        }
		/// <summary>
		/// Updates the configuration of an app field. The type of the field cannot be updated, only the configuration.
		/// <para>Podio API Reference: https://developers.podio.com/doc/applications/update-an-app-field-22356 </para>
		/// </summary>
		/// <param name="appId">The application identifier.</param>
		/// <param name="fieldId">The field identifier.</param>
		/// <param name="config">The configuration.</param>
		/// <returns>Task.</returns>
		public async Task UpdateAnAppField(int appId, int fieldId, FieldConfig config)
		{
			string url = string.Format("/app/{0}/field/{1}", appId, fieldId);
			await _podio.PutAsync<dynamic>(url, config);
		}