import { SsoConfigApi } from "../../api/ssoConfigApi" ; import { BaseResponse } from "../baseResponse" ; export class OrganizationSsoResponse extends BaseResponse { enabled : boolean ; data : SsoConfigApi ; urls : SsoUrls ; constructor ( response ) { super ( response ) ; this . enabled = this . getResponseProperty ( "Enabled" ) ; this . data = new SsoConfigApi ( this . getResponseProperty ( "Data" ) ) ; this . urls = new SsoUrls ( this . getResponseProperty ( "Urls" ) ) ; } } class SsoUrls extends BaseResponse { callbackPath : string ; signedOutCallbackPath : string ; spEntityId : string ; spMetadataUrl : string ; spAcsUrl : string ; constructor ( response ) { super ( response ) ; this . callbackPath = this . getResponseProperty ( "CallbackPath" ) ; this . signedOutCallbackPath = this . getResponseProperty ( "SignedOutCallbackPath" ) ; this . spEntityId = this . getResponseProperty ( "SpEntityId" ) ; this . spMetadataUrl = this . getResponseProperty ( "SpMetadataUrl" ) ; this . spAcsUrl = this . getResponseProperty ( "SpAcsUrl" ) ; } }