Skip to content

Commit 0a8c011

Browse files
committed
Fixing portfolio model
1 parent b0d9ffb commit 0a8c011

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If you use [Maven](http://maven.apache.org/) to manage dependencies you can incl
1010
<dependency>
1111
<groupId>com.asana</groupId>
1212
<artifactId>asana</artifactId>
13-
<version>0.10.2</version>
13+
<version>0.10.3</version>
1414
</dependency>
1515

1616
Or, you can build the artifact and install it to your local Maven repository:

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.asana</groupId>
55
<artifactId>asana</artifactId>
66
<packaging>jar</packaging>
7-
<version>0.10.2</version>
7+
<version>0.10.3</version>
88
<url>http://maven.apache.org</url>
99
<name>java-asana</name>
1010
<description>A Java client for the Asana API.</description>

src/main/java/com/asana/models/Portfolio.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ public class Portfolio extends Resource {
2323
public DateTime createdAt;
2424

2525
@SerializedName("created_by")
26-
public DateTime createdBy;
26+
public User createdBy;
2727
}

src/main/java/com/asana/resources/gen/TypeaheadBase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class TypeaheadBase extends Resource {
2020

2121
/**
2222
* Get objects via typeahead
23-
* Retrieves objects in the workspace based via an auto-completion/typeahead search algorithm. This feature is meant to provide results quickly, so do not rely on this API to provide extremely accurate search results. The result set is limited to a single page of results with a maximum size, so you won’t be able to fetch large numbers of results. The typeahead search API provides search for objects from a single workspace. This endpoint should be used to query for objects when creating an auto-completion/typeahead search feature. This API is meant to provide results quickly and should not be relied upon for accurate or exhaustive search results. The results sets are limited in size and cannot be paginated. Queries return a compact representation of each object which is typically the gid and name fields. Interested in a specific set of fields or all of the fields?! Of course you are. Use field selectors to manipulate what data is included in a response.
23+
* Retrieves objects in the workspace based via an auto-completion/typeahead search algorithm. This feature is meant to provide results quickly, so do not rely on this API to provide extremely accurate search results. The result set is limited to a single page of results with a maximum size, so you won’t be able to fetch large numbers of results. The typeahead search API provides search for objects from a single workspace. This endpoint should be used to query for objects when creating an auto-completion/typeahead search feature. This API is meant to provide results quickly and should not be relied upon for accurate or exhaustive search results. The results sets are limited in size and cannot be paginated. Queries return a compact representation of each object which is typically the gid and name fields. Interested in a specific set of fields or all of the fields?! Of course you are. Use field selectors to manipulate what data is included in a response. Resources with type &#x60;user&#x60; are returned in order of most contacted to least contacted. This is determined by task assignments, adding the user to projects, and adding the user as a follower to tasks, conversations, etc. Resources with type &#x60;project&#x60; are returned in order of recency. This is determined when the user visits the project, is added to the project, and completes tasks in the project. Resources with type &#x60;task&#x60; are returned with priority placed on tasks the user is following, but no guarantee on the order of those tasks. Leaving the &#x60;query&#x60; string empty or omitted will give you results, still following the resource ordering above. This could be used to list users or projects that are relevant for the requesting user&#x27;s api token.
2424
* @param workspaceGid Globally unique identifier for the workspace or organization. (required)
2525
* @param count The number of results to return. The default is 20 if this parameter is omitted, with a minimum of 1 and a maximum of 100. If there are fewer results found than requested, all will be returned. (optional)
2626
* @param query The string that will be used to search for relevant objects. If an empty string is passed in, the API will currently return an empty result set. (optional)

0 commit comments

Comments
 (0)