Example #1
0
 /// <summary>
 /// Initializes a new instance of the AppResponse class.
 /// </summary>
 /// <param name="id">The unique ID (UUID) of the app</param>
 /// <param name="displayName">The display name of the app</param>
 /// <param name="name">The name of the app used in URLs</param>
 /// <param name="os">The OS the app will be running on. Possible values
 /// include: 'Android', 'iOS', 'macOS', 'Tizen', 'tvOS', 'Windows',
 /// 'Custom'</param>
 /// <param name="appSecret">A unique and secret key used to identify
 /// the app in communication with the ingestion endpoint for crash
 /// reporting and analytics</param>
 /// <param name="platform">The platform of the app. Possible values
 /// include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova',
 /// 'React-Native', 'Unity', 'Xamarin', 'Unknown'</param>
 /// <param name="origin">The creation origin of this app. Possible
 /// values include: 'appcenter', 'hockeyapp', 'codepush'</param>
 /// <param name="description">The description of the app</param>
 /// <param name="iconUrl">The string representation of the URL pointing
 /// to the app's icon</param>
 /// <param name="iconSource">The string representation of the source of
 /// the app's icon</param>
 /// <param name="createdAt">The created date of this app</param>
 /// <param name="updatedAt">The last updated date of this app</param>
 /// <param name="memberPermissions">The permissions of the calling
 /// user</param>
 public AppResponse(System.Guid id, string displayName, string name, string os, Owner owner, string appSecret, string platform, string origin, string description = default(string), string iconUrl = default(string), string iconSource = default(string), AzureSubscriptionResponse azureSubscription = default(AzureSubscriptionResponse), string createdAt = default(string), string updatedAt = default(string), IList <string> memberPermissions = default(IList <string>))
     : base(id, displayName, name, os, owner, description, iconUrl, iconSource)
 {
     AppSecret         = appSecret;
     AzureSubscription = azureSubscription;
     Platform          = platform;
     Origin            = origin;
     CreatedAt         = createdAt;
     UpdatedAt         = updatedAt;
     MemberPermissions = memberPermissions;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AppWithTeamPermissionsResponse
 /// class.
 /// </summary>
 /// <param name="id">The unique ID (UUID) of the app</param>
 /// <param name="displayName">The display name of the app</param>
 /// <param name="name">The name of the app used in URLs</param>
 /// <param name="os">The OS the app will be running on. Possible values
 /// include: 'Android', 'iOS', 'macOS', 'Tizen', 'tvOS', 'Windows',
 /// 'Custom'</param>
 /// <param name="appSecret">A unique and secret key used to identify
 /// the app in communication with the ingestion endpoint for crash
 /// reporting and analytics</param>
 /// <param name="platform">The platform of the app. Possible values
 /// include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova',
 /// 'React-Native', 'Unity', 'Xamarin', 'Unknown'</param>
 /// <param name="origin">The creation origin of this app. Possible
 /// values include: 'appcenter', 'hockeyapp', 'codepush'</param>
 /// <param name="description">The description of the app</param>
 /// <param name="iconUrl">The string representation of the URL pointing
 /// to the app's icon</param>
 /// <param name="iconSource">The string representation of the source of
 /// the app's icon</param>
 /// <param name="createdAt">The created date of this app</param>
 /// <param name="updatedAt">The last updated date of this app</param>
 /// <param name="memberPermissions">The permissions of the calling
 /// user</param>
 /// <param name="teamPermissions">The permissions the team has for the
 /// app</param>
 public AppWithTeamPermissionsResponse(System.Guid id, string displayName, string name, string os, Owner owner, string appSecret, string platform, string origin, string description = default(string), string iconUrl = default(string), string iconSource = default(string), AzureSubscriptionResponse azureSubscription = default(AzureSubscriptionResponse), string createdAt = default(string), string updatedAt = default(string), IList <string> memberPermissions = default(IList <string>), IList <string> teamPermissions = default(IList <string>))
     : base(id, displayName, name, os, owner, appSecret, platform, origin, description, iconUrl, iconSource, azureSubscription, createdAt, updatedAt, memberPermissions)
 {
     TeamPermissions = teamPermissions;
     CustomInit();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the AppResponseInternal class.
 /// </summary>
 /// <param name="id">The unique ID (UUID) of the app</param>
 /// <param name="displayName">The display name of the app</param>
 /// <param name="name">The name of the app used in URLs</param>
 /// <param name="os">The OS the app will be running on. Possible values
 /// include: 'Android', 'iOS', 'macOS', 'Tizen', 'tvOS', 'Windows',
 /// 'Custom'</param>
 /// <param name="appSecret">A unique and secret key used to identify
 /// the app in communication with the ingestion endpoint for crash
 /// reporting and analytics</param>
 /// <param name="platform">The platform of the app. Possible values
 /// include: 'Java', 'Objective-C-Swift', 'UWP', 'Cordova',
 /// 'React-Native', 'Unity', 'Xamarin', 'Unknown'</param>
 /// <param name="origin">The creation origin of this app. Possible
 /// values include: 'appcenter', 'hockeyapp', 'codepush'</param>
 /// <param name="description">The description of the app</param>
 /// <param name="iconUrl">The string representation of the URL pointing
 /// to the app's icon</param>
 /// <param name="iconSource">The string representation of the source of
 /// the app's icon</param>
 /// <param name="createdAt">The created date of this app</param>
 /// <param name="updatedAt">The last updated date of this app</param>
 /// <param name="memberPermissions">The permissions of the calling
 /// user</param>
 /// <param name="featureFlags">The feature flags that are enabled for
 /// this app</param>
 /// <param name="repositories">The repositories associated with this
 /// app</param>
 public AppResponseInternal(System.Guid id, string displayName, string name, string os, Owner owner, string appSecret, string platform, string origin, string description = default(string), string iconUrl = default(string), string iconSource = default(string), AzureSubscriptionResponse azureSubscription = default(AzureSubscriptionResponse), string createdAt = default(string), string updatedAt = default(string), IList <string> memberPermissions = default(IList <string>), IList <string> featureFlags = default(IList <string>), IList <AppResponseInternalRepositoriesItem> repositories = default(IList <AppResponseInternalRepositoriesItem>))
     : base(id, displayName, name, os, owner, appSecret, platform, origin, description, iconUrl, iconSource, azureSubscription, createdAt, updatedAt, memberPermissions)
 {
     FeatureFlags = featureFlags;
     Repositories = repositories;
     CustomInit();
 }