1919
2020 With the Identity service in Splunk Cloud Services, you can authenticate and authorize Splunk Cloud Services users.
2121
22- OpenAPI spec version: v2beta1.21
22+ OpenAPI spec version: v2beta1.22
2323 Generated by: https://openapi-generator.tech
2424"""
2525
@@ -1267,10 +1267,13 @@ def to_dict(self):
12671267
12681268
12691269class KindEnum (str , Enum ):
1270+ KEYCLOAK = "keycloak"
12701271 SAML = "saml"
12711272
12721273 @staticmethod
12731274 def from_value (value : str ):
1275+ if value == "keycloak" :
1276+ return KindEnum .KEYCLOAK
12741277 if value == "saml" :
12751278 return KindEnum .SAML
12761279
@@ -1609,15 +1612,6 @@ def to_dict(self):
16091612 return {k : v for (k , v ) in self ._attrs .items () if v is not None }
16101613
16111614
1612- class KindEnum (str , Enum ):
1613- SAML = "saml"
1614-
1615- @staticmethod
1616- def from_value (value : str ):
1617- if value == "saml" :
1618- return KindEnum .SAML
1619-
1620-
16211615class IdentityProviderConfigBody (SSCModel ):
16221616
16231617 @staticmethod
@@ -1626,16 +1620,14 @@ def _from_dict(model: dict) -> "IdentityProviderConfigBody":
16261620 instance ._attrs = model
16271621 return instance
16281622
1629- def __init__ (self , config : "IdentityProviderConfigBodyConfig" , id : "str" , kind : "str" , description : "str" = None , enabled : "bool" = None , title : "str" = None , ** extra ):
1623+ def __init__ (self , config : "IdentityProviderConfigBodyConfig" , id : "str" , description : "str" = None , enabled : "bool" = None , title : "str" = None , ** extra ):
16301624 """IdentityProviderConfigBody"""
16311625
16321626 self ._attrs = dict ()
16331627 if config is not None :
16341628 self ._attrs ["config" ] = config .to_dict ()
16351629 if id is not None :
16361630 self ._attrs ["id" ] = id
1637- if kind is not None :
1638- self ._attrs ["kind" ] = kind
16391631 if description is not None :
16401632 self ._attrs ["description" ] = description
16411633 if enabled is not None :
@@ -1681,27 +1673,6 @@ def id(self, id: "str"):
16811673 raise ValueError ("Invalid value for `id`, must not be `None`" )
16821674 self ._attrs ["id" ] = id
16831675
1684- @property
1685- def kind (self ) -> "KindEnum" :
1686- """ Gets the kind of this IdentityProviderConfigBody.
1687- """
1688- return KindEnum .from_value (self ._attrs .get ("kind" ))
1689-
1690- @kind .setter
1691- def kind (self , kind : "str" ):
1692- """Sets the kind of this IdentityProviderConfigBody.
1693-
1694-
1695- :param kind: The kind of this IdentityProviderConfigBody.
1696- :type: str
1697- """
1698- if kind is None :
1699- raise ValueError ("Invalid value for `kind`, must not be `None`" )
1700- if isinstance (kind , Enum ):
1701- self ._attrs ["kind" ] = kind .value
1702- else :
1703- self ._attrs ["kind" ] = kind # If you supply a string, we presume you know the service will take it.
1704-
17051676 @property
17061677 def description (self ) -> "str" :
17071678 """ Gets the description of this IdentityProviderConfigBody.
0 commit comments