public SystemSettingsType UpdateSystemSettings( SystemSettingsType systemSettingsType) { try { return(SdkUtil.Put <SystemSettingsType>(this._client, this._client.VCloudApiURL + "/admin/extension/settings", SerializationUtil.SerializeObject <SystemSettingsType>(systemSettingsType, "com.vmware.vcloud.api.rest.schema"), "application/vnd.vmware.admin.systemSettings+xml", 200)); } catch (Exception ex) { throw new VCloudException(ex.Message); } }
internal VcloudAdminExtensionSettings(vCloudClient vcloudClient) { try { this._client = vcloudClient; this._vcloudSystemSettings = SdkUtil.Get <SystemSettingsType>(this._client, this._client.VCloudApiURL + "/admin/extension/settings", 200); this.Sort_v1_5(); } catch (Exception ex) { throw new VCloudException(ex.Message); } }