コード例 #1
0
ファイル: OrganizationData.cs プロジェクト: waldow90/mobile-1
 public OrganizationData(ProfileOrganizationResponse response)
 {
     Id              = response.Id;
     Name            = response.Name;
     Status          = response.Status;
     Type            = response.Type;
     Enabled         = response.Enabled;
     UseGroups       = response.UseGroups;
     UseDirectory    = response.UseDirectory;
     UseEvents       = response.UseEvents;
     UseTotp         = response.UseTotp;
     Use2fa          = response.Use2fa;
     UseApi          = response.UseApi;
     SelfHost        = response.SelfHost;
     UsersGetPremium = response.UsersGetPremium;
     Seats           = response.Seats;
     MaxCollections  = response.MaxCollections;
     MaxStorageGb    = response.MaxStorageGb;
 }
コード例 #2
0
 public OrganizationData(ProfileOrganizationResponse response)
 {
     Id               = response.Id;
     Name             = response.Name;
     Status           = response.Status;
     Type             = response.Type;
     Enabled          = response.Enabled;
     UseGroups        = response.UseGroups;
     UseDirectory     = response.UseDirectory;
     UseEvents        = response.UseEvents;
     UseTotp          = response.UseTotp;
     Use2fa           = response.Use2fa;
     UseApi           = response.UseApi;
     UsePolicies      = response.UsePolicies;
     SelfHost         = response.SelfHost;
     UsersGetPremium  = response.UsersGetPremium;
     Seats            = response.Seats;
     MaxCollections   = response.MaxCollections;
     MaxStorageGb     = response.MaxStorageGb;
     Permissions      = response.Permissions ?? new Permissions();
     Identifier       = response.Identifier;
     UsesKeyConnector = response.UsesKeyConnector;
     KeyConnectorUrl  = response.KeyConnectorUrl;
 }