Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.saml_application_settings_sign_on\
import SamlApplicationSettingsSignOn
class SamlApplicationSettings(
ApplicationSettings
):
"""
A class for SamlApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "signOn" in config:
if isinstance(config["signOn"],
SamlApplicationSettingsSignOn):
self.sign_on = config["signOn"]
else:
self.sign_on = SamlApplicationSettingsSignOn(
config["signOn"]
)
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.auto_login_application_settings_sign_on\
import AutoLoginApplicationSettingsSignOn
class AutoLoginApplicationSettings(
ApplicationSettings
):
"""
A class for AutoLoginApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "signOn" in config:
if isinstance(config["signOn"],
AutoLoginApplicationSettingsSignOn):
self.sign_on = config["signOn"]
else:
self.sign_on = AutoLoginApplicationSettingsSignOn(
config["signOn"]
)
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.ws_federation_application_settings_application\
import WsFederationApplicationSettingsApplication
class WsFederationApplicationSettings(
ApplicationSettings
):
"""
A class for WsFederationApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "app" in config:
if isinstance(config["app"],
WsFederationApplicationSettingsApplication):
self.app = config["app"]
else:
self.app = WsFederationApplicationSettingsApplication(
config["app"]
)
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.basic_application_settings_application\
import BasicApplicationSettingsApplication
class BasicApplicationSettings(
ApplicationSettings
):
"""
A class for BasicApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "app" in config:
if isinstance(config["app"],
BasicApplicationSettingsApplication):
self.app = config["app"]
else:
self.app = BasicApplicationSettingsApplication(
config["app"]
)
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.swa_application_settings_application\
import SwaApplicationSettingsApplication
class SwaApplicationSettings(
ApplicationSettings
):
"""
A class for SwaApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "app" in config:
if isinstance(config["app"],
SwaApplicationSettingsApplication):
self.app = config["app"]
else:
self.app = SwaApplicationSettingsApplication(
config["app"]
)
if isinstance(config["licensing"],
ApplicationLicensing):
self.licensing = config["licensing"]
else:
self.licensing = ApplicationLicensing(
config["licensing"]
)
else:
self.licensing = None
self.name = config["name"]\
if "name" in config else None
self.profile = config["profile"]\
if "profile" in config else None
if "settings" in config:
if isinstance(config["settings"],
ApplicationSettings):
self.settings = config["settings"]
else:
self.settings = ApplicationSettings(
config["settings"]
)
else:
self.settings = None
if "signOnMode" in config:
if isinstance(config["signOnMode"],
ApplicationSignOnMode):
self.sign_on_mode = config["signOnMode"]
else:
self.sign_on_mode = ApplicationSignOnMode(
config["signOnMode"]
)
else:
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.swa_three_field_application_settings_application\
import SwaThreeFieldApplicationSettingsApplication
class SwaThreeFieldApplicationSettings(
ApplicationSettings
):
"""
A class for SwaThreeFieldApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "app" in config:
if isinstance(config["app"],
SwaThreeFieldApplicationSettingsApplication):
self.app = config["app"]
else:
self.app = SwaThreeFieldApplicationSettingsApplication(
config["app"]
)
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.bookmark_application_settings_application\
import BookmarkApplicationSettingsApplication
class BookmarkApplicationSettings(
ApplicationSettings
):
"""
A class for BookmarkApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "app" in config:
if isinstance(config["app"],
BookmarkApplicationSettingsApplication):
self.app = config["app"]
else:
self.app = BookmarkApplicationSettingsApplication(
config["app"]
)
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
# AUTO-GENERATED! DO NOT EDIT FILE DIRECTLY
# SEE CONTRIBUTOR DOCUMENTATION
from okta.models.application_settings\
import ApplicationSettings
from okta.models.secure_password_store_application_settings_application\
import SecurePasswordStoreApplicationSettingsApplication
class SecurePasswordStoreApplicationSettings(
ApplicationSettings
):
"""
A class for SecurePasswordStoreApplicationSettings objects.
"""
def __init__(self, config=None):
super().__init__(config)
if config:
if "app" in config:
if isinstance(config["app"],
SecurePasswordStoreApplicationSettingsApplication):
self.app = config["app"]
else:
self.app = SecurePasswordStoreApplicationSettingsApplication(
config["app"]
)
else:
self.licensing = ApplicationLicensing(
config["licensing"]
)
else:
self.licensing = None
self.name = config["name"]\
if "name" in config else None
self.profile = config["profile"]\
if "profile" in config else None
if "settings" in config:
if isinstance(config["settings"],
ApplicationSettings):
self.settings = config["settings"]
else:
self.settings = ApplicationSettings(
config["settings"]
)
else:
self.settings = None
if "signOnMode" in config:
if isinstance(config["signOnMode"],
ApplicationSignOnMode):
self.sign_on_mode = config["signOnMode"]
else:
self.sign_on_mode = ApplicationSignOnMode(
config["signOnMode"]
)
else:
self.sign_on_mode = None
self.status = config["status"]\
if "status" in config else None