Skip to content

Commit

Permalink
Merge pull request #199 from oracle/release_2023-09-12-v2
Browse files Browse the repository at this point in the history
Releasing version 71.1.0
  • Loading branch information
joshunter authored Sep 12, 2023
2 parents cd46297 + 5c7443c commit fcb1876
Show file tree
Hide file tree
Showing 136 changed files with 5,398 additions and 198 deletions.
12 changes: 12 additions & 0 deletions Aivision/models/AnalyzeImageResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ public class AnalyzeImageResult
[JsonProperty(PropertyName = "imageText")]
public ImageText ImageText { get; set; }

/// <value>
/// The detected faces.
/// </value>
[JsonProperty(PropertyName = "detectedFaces")]
public System.Collections.Generic.List<Face> DetectedFaces { get; set; }

/// <value>
/// The image classification model version.
/// </value>
Expand All @@ -60,6 +66,12 @@ public class AnalyzeImageResult
[JsonProperty(PropertyName = "textDetectionModelVersion")]
public string TextDetectionModelVersion { get; set; }

/// <value>
/// The face detection model version.
/// </value>
[JsonProperty(PropertyName = "faceDetectionModelVersion")]
public string FaceDetectionModelVersion { get; set; }

/// <value>
/// The errors encountered during image analysis.
/// </value>
Expand Down
4 changes: 4 additions & 0 deletions Aivision/models/DataScienceLabelingDataset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ public class DataScienceLabelingDataset : Dataset
/// <value>
/// OCID of the Data Labeling dataset.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "DatasetId is required.")]
[JsonProperty(PropertyName = "datasetId")]
public string DatasetId { get; set; }

Expand Down
58 changes: 58 additions & 0 deletions Aivision/models/Face.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/*
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/

// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.


using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;


namespace Oci.AivisionService.Models
{
/// <summary>
/// The detected face.
/// </summary>
public class Face
{

/// <value>
/// The confidence score, between 0 and 1.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "Confidence is required.")]
[JsonProperty(PropertyName = "confidence")]
public System.Nullable<float> Confidence { get; set; }

/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "BoundingPolygon is required.")]
[JsonProperty(PropertyName = "boundingPolygon")]
public BoundingPolygon BoundingPolygon { get; set; }

/// <value>
/// The quality score of the face detected, between 0 and 1.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "QualityScore is required.")]
[JsonProperty(PropertyName = "qualityScore")]
public System.Nullable<float> QualityScore { get; set; }

/// <value>
/// A point of interest within a face.
/// </value>
[JsonProperty(PropertyName = "landmarks")]
public System.Collections.Generic.List<Landmark> Landmarks { get; set; }

}
}
39 changes: 39 additions & 0 deletions Aivision/models/FaceDetectionFeature.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/*
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/

// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.


using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;


namespace Oci.AivisionService.Models
{
/// <summary>
/// The face detection parameters.
/// </summary>
public class FaceDetectionFeature : ImageFeature
{

/// <value>
/// The maximum number of results to return.
/// </value>
[JsonProperty(PropertyName = "maxResults")]
public System.Nullable<int> MaxResults { get; set; }

/// <value>
/// Whether or not return face landmarks.
/// </value>
[JsonProperty(PropertyName = "shouldReturnLandmarks")]
public System.Nullable<bool> ShouldReturnLandmarks { get; set; }

[JsonProperty(PropertyName = "featureType")]
private readonly string featureType = "FACE_DETECTION";
}
}
10 changes: 8 additions & 2 deletions Aivision/models/ImageFeature.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public class ImageFeature
/// The allowed values are:
/// - `IMAGE_CLASSIFICATION`: Label the image.
/// - `OBJECT_DETECTION`: Identify objects in the image with bounding boxes.
/// - `TEXT_DETECTION`: Recognize text in the image.
/// - `TEXT_DETECTION`: Recognize text at the word and line level.
/// - `FACE_DETECTION`: Identify faces in the image with bounding boxes and face landmarks.
///
/// </value>
///
Expand All @@ -37,7 +38,9 @@ public enum FeatureTypeEnum {
[EnumMember(Value = "OBJECT_DETECTION")]
ObjectDetection,
[EnumMember(Value = "TEXT_DETECTION")]
TextDetection
TextDetection,
[EnumMember(Value = "FACE_DETECTION")]
FaceDetection
};


Expand Down Expand Up @@ -67,6 +70,9 @@ public override object ReadJson(JsonReader reader, System.Type objectType, objec
case "TEXT_DETECTION":
obj = new ImageTextDetectionFeature();
break;
case "FACE_DETECTION":
obj = new FaceDetectionFeature();
break;
case "OBJECT_DETECTION":
obj = new ImageObjectDetectionFeature();
break;
Expand Down
76 changes: 76 additions & 0 deletions Aivision/models/Landmark.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
/*
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/

// NOTE: Code generated by OracleSDKGenerator.
// DO NOT EDIT this file manually.


using System.ComponentModel.DataAnnotations;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;


namespace Oci.AivisionService.Models
{
/// <summary>
/// The landmark on the face.
/// </summary>
public class Landmark
{
///
/// <value>
/// The face landmark type
/// </value>
///
public enum TypeEnum {
/// This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
[EnumMember(Value = null)]
UnknownEnumValue,
[EnumMember(Value = "LEFT_EYE")]
LeftEye,
[EnumMember(Value = "RIGHT_EYE")]
RightEye,
[EnumMember(Value = "NOSE_TIP")]
NoseTip,
[EnumMember(Value = "LEFT_EDGE_OF_MOUTH")]
LeftEdgeOfMouth,
[EnumMember(Value = "RIGHT_EDGE_OF_MOUTH")]
RightEdgeOfMouth
};

/// <value>
/// The face landmark type
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "Type is required.")]
[JsonProperty(PropertyName = "type")]
[JsonConverter(typeof(Oci.Common.Utils.ResponseEnumConverter))]
public System.Nullable<TypeEnum> Type { get; set; }

/// <value>
/// The X-axis normalized coordinate.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "X is required.")]
[JsonProperty(PropertyName = "x")]
public System.Nullable<float> X { get; set; }

/// <value>
/// The Y-axis normalized coordinate.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "Y is required.")]
[JsonProperty(PropertyName = "y")]
public System.Nullable<float> Y { get; set; }

}
}
12 changes: 12 additions & 0 deletions Aivision/models/ObjectStorageDataset.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,30 @@ public class ObjectStorageDataset : Dataset
/// <value>
/// The namespace name of the Object Storage bucket that contains the input data file.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "NamespaceName is required.")]
[JsonProperty(PropertyName = "namespaceName")]
public string NamespaceName { get; set; }

/// <value>
/// The name of the Object Storage bucket that contains the input data file.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "BucketName is required.")]
[JsonProperty(PropertyName = "bucketName")]
public string BucketName { get; set; }

/// <value>
/// The object name of the input data file.
/// </value>
/// <remarks>
/// Required
/// </remarks>
[Required(ErrorMessage = "ObjectName is required.")]
[JsonProperty(PropertyName = "objectName")]
public string ObjectName { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion Aivision/requests/CancelDocumentJobRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class CancelDocumentJobRequest : Oci.Common.IOciRequest
{

/// <value>
/// Document job id.
/// The document job ID.
/// </value>
/// <remarks>
/// Required
Expand Down
2 changes: 1 addition & 1 deletion Aivision/requests/CancelImageJobRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class CancelImageJobRequest : Oci.Common.IOciRequest
{

/// <value>
/// Image job id.
/// The image job ID.
/// </value>
/// <remarks>
/// Required
Expand Down
2 changes: 1 addition & 1 deletion Aivision/requests/GetDocumentJobRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class GetDocumentJobRequest : Oci.Common.IOciRequest
{

/// <value>
/// Document job id.
/// The document job ID.
/// </value>
/// <remarks>
/// Required
Expand Down
2 changes: 1 addition & 1 deletion Aivision/requests/GetImageJobRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class GetImageJobRequest : Oci.Common.IOciRequest
{

/// <value>
/// Image job id.
/// The image job ID.
/// </value>
/// <remarks>
/// Required
Expand Down
4 changes: 2 additions & 2 deletions Announcementsservice/models/AnnouncementSubscription.cs
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,13 @@ public enum LifecycleStateEnum {
public System.Collections.Generic.Dictionary<string, FilterGroup> FilterGroups { get; set; }

/// <value>
/// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.
/// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.
/// </value>
[JsonProperty(PropertyName = "preferredLanguage")]
public string PreferredLanguage { get; set; }

/// <value>
/// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.
/// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
/// </value>
[JsonProperty(PropertyName = "preferredTimeZone")]
public string PreferredTimeZone { get; set; }
Expand Down
6 changes: 6 additions & 0 deletions Announcementsservice/models/BaseAnnouncement.cs
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,12 @@ public enum PlatformTypeEnum {
[JsonConverter(typeof(StringEnumConverter))]
public System.Nullable<PlatformTypeEnum> PlatformType { get; set; }

/// <value>
/// The sequence of connected announcements, or announcement chain, that this announcement belongs to. Related announcements share the same chain ID.
/// </value>
[JsonProperty(PropertyName = "chainId")]
public string ChainId { get; set; }

}

public class BaseAnnouncementModelConverter : JsonConverter
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public class BaseAnnouncementsPreferences
public System.Nullable<BaseCreateAnnouncementsPreferencesDetails.PreferenceTypeEnum> PreferenceType { get; set; }

/// <value>
/// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.
/// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
/// </value>
[JsonProperty(PropertyName = "preferredTimeZone")]
public string PreferredTimeZone { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public enum PreferenceTypeEnum {
public System.Nullable<PreferenceTypeEnum> PreferenceType { get; set; }

/// <value>
/// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.
/// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
/// </value>
[JsonProperty(PropertyName = "preferredTimeZone")]
public string PreferredTimeZone { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,13 @@ public class CreateAnnouncementSubscriptionDetails
public System.Collections.Generic.Dictionary<string, FilterGroupDetails> FilterGroups { get; set; }

/// <value>
/// (For announcement subscriptions with Oracle Fusion Applications configured as the service only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the language tag format (x-obmcs-human-language). For example fr-FR.
/// (For announcement subscriptions with SaaS configured as the platform type or Oracle Fusion Applications as the service, or both, only) The language in which the user prefers to receive emailed announcements. Specify the preference with a value that uses the x-obmcs-human-language format. For example fr-FR.
/// </value>
[JsonProperty(PropertyName = "preferredLanguage")]
public string PreferredLanguage { get; set; }

/// <value>
/// The time zone that the user prefers for announcement time stamps. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example America/Los_Angeles.
/// The time zone in which the user prefers to receive announcements. Specify the preference with a value that uses the IANA Time Zone Database format (x-obmcs-time-zone). For example - America/Los_Angeles
/// </value>
[JsonProperty(PropertyName = "preferredTimeZone")]
public string PreferredTimeZone { get; set; }
Expand Down
6 changes: 3 additions & 3 deletions Announcementsservice/models/Filter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
namespace Oci.AnnouncementsService.Models
{
/// <summary>
/// Criteria that the Announcements service uses to match announcements in order to provide only desired, matching announcements.
/// Criteria that the Announcements service uses to match announcements so it can provide only desired announcements to subscribers.
/// </summary>
public class Filter
{
///
/// <value>
/// The type of filter.
/// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.
/// </value>
///
public enum TypeEnum {
Expand All @@ -44,7 +44,7 @@ public enum TypeEnum {
};

/// <value>
/// The type of filter.
/// The type of filter. You cannot combine the RESOURCE_ID filter with any other type of filter within a given filter group. For filter types that support multiple values, specify the values individually.
/// </value>
/// <remarks>
/// Required
Expand Down
Loading

0 comments on commit fcb1876

Please sign in to comment.