Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
d2d77f9
Added multiclusters endpoints for the search client
MaxenceMaire Dec 10, 2021
fafaff0
Added multiclusters endpoints for the search client
MaxenceMaire Dec 10, 2021
a13b2ba
Added multiclusters endpoints for the search client
MaxenceMaire Dec 13, 2021
4c25cf5
Added multiclusters endpoints for the search client
MaxenceMaire Dec 13, 2021
e38a2d8
Merge branch 'main' into feat/APIC-195/multiclusters-endpoints
MaxenceMaire Dec 13, 2021
40775a7
feat: run linter
MaxenceMaire Dec 13, 2021
4fd29ba
feat: capitalize parameters, link page to common definition, add desc…
MaxenceMaire Dec 13, 2021
1f73610
Update specs/search/paths/multiclusters/userIds.yml
MaxenceMaire Dec 14, 2021
bebbb4c
Update specs/search/paths/multiclusters/schemas.yml
MaxenceMaire Dec 14, 2021
5195a85
feat: inline schemas
MaxenceMaire Dec 14, 2021
691b6d8
feat: reference HightlightResult
MaxenceMaire Dec 14, 2021
0b622cb
feat: revamp summaries and descriptions
MaxenceMaire Dec 14, 2021
c67788a
feat: move removeUserId from userIds.yml to userId.yml
MaxenceMaire Dec 14, 2021
58d61fa
feat: reference common variables instead of creating duplicates in sc…
MaxenceMaire Dec 14, 2021
aafad12
feat: generate client
MaxenceMaire Dec 14, 2021
1aa59c5
fix: resolve merge conflicts
MaxenceMaire Dec 14, 2021
762a5fc
feat: merge with main
MaxenceMaire Dec 14, 2021
bd14468
fix: add userID parameter in path instead of query for deleteUser method
MaxenceMaire Dec 14, 2021
1304370
feat: simplify userID regex
MaxenceMaire Dec 14, 2021
4f1e1d3
feat: add required response properties
MaxenceMaire Dec 14, 2021
f8a823c
feat: add required request properties
MaxenceMaire Dec 14, 2021
cbd1c92
feat: generate specs
MaxenceMaire Dec 14, 2021
5a7ea70
feat: add missing description on userIDs and topUsers
MaxenceMaire Dec 14, 2021
2e12ed0
feat: add missing descriptions
MaxenceMaire Dec 14, 2021
2f80072
fix: fix typo in hasPendingMappins
MaxenceMaire Dec 14, 2021
376f6b1
feat: add names to responses
MaxenceMaire Dec 14, 2021
33287f3
feat: add small fixes, add object titles, generate client
MaxenceMaire Dec 14, 2021
12922c4
feat: remove model directory and generate specs
MaxenceMaire Dec 14, 2021
9aeaf58
feat: resolve conflicts and merge with main
MaxenceMaire Dec 16, 2021
1945a44
lint java
millotp Dec 16, 2021
8c626dd
feat: add missing required properties in searchUserId method, add des…
MaxenceMaire Dec 16, 2021
3d9fe8b
Merge branch 'feat/APIC-195/multiclusters-endpoints' of github.com:al…
MaxenceMaire Dec 16, 2021
4f76975
Merge branch 'main' into feat/APIC-195/multiclusters-endpoints
MaxenceMaire Dec 16, 2021
4198939
run yarn generate
millotp Dec 16, 2021
1ffe27c
resolve conflicts
millotp Dec 16, 2021
00edecb
Merge branch 'main' into feat/APIC-195/multiclusters-endpoints
shortcuts Dec 16, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
package com.algolia.model;

import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModelProperty;
import java.time.OffsetDateTime;
import java.util.Objects;

/** AddApiKeyResponse */
public class AddApiKeyResponse {

public static final String SERIALIZED_NAME_KEY = "key";

@SerializedName(SERIALIZED_NAME_KEY)
private String key;

public static final String SERIALIZED_NAME_CREATED_AT = "createdAt";

@SerializedName(SERIALIZED_NAME_CREATED_AT)
private OffsetDateTime createdAt;

public AddApiKeyResponse key(String key) {
this.key = key;
return this;
}

/**
* Key string.
*
* @return key
*/
@javax.annotation.Nonnull
@ApiModelProperty(required = true, value = "Key string.")
public String getKey() {
return key;
}

public void setKey(String key) {
this.key = key;
}

public AddApiKeyResponse createdAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
return this;
}

/**
* Date of creation (ISO-8601 format).
*
* @return createdAt
*/
@javax.annotation.Nonnull
@ApiModelProperty(
required = true,
value = "Date of creation (ISO-8601 format)."
)
public OffsetDateTime getCreatedAt() {
return createdAt;
}

public void setCreatedAt(OffsetDateTime createdAt) {
this.createdAt = createdAt;
}

@Override
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
AddApiKeyResponse addApiKeyResponse = (AddApiKeyResponse) o;
return (
Objects.equals(this.key, addApiKeyResponse.key) &&
Objects.equals(this.createdAt, addApiKeyResponse.createdAt)
);
}

@Override
public int hashCode() {
return Objects.hash(key, createdAt);
}

@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class AddApiKeyResponse {\n");
sb.append(" key: ").append(toIndentedString(key)).append("\n");
sb
.append(" createdAt: ")
.append(toIndentedString(createdAt))
.append("\n");
sb.append("}");
return sb.toString();
}

/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
Loading