-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #38 from clerk/speakeasy-sdk-regen-1731969931
chore: 🐝 Update SDK - Generate 1.3.0
- Loading branch information
Showing
15 changed files
with
335 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
62 changes: 62 additions & 0 deletions
62
src/main/java/com/clerk/backend_api/utils/QueryParameter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
/* | ||
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. | ||
*/ | ||
|
||
package com.clerk.backend_api.utils; | ||
|
||
import java.util.Objects; | ||
|
||
// internal class, not for public use | ||
// TODO move to internal package | ||
public final class QueryParameter { | ||
|
||
private final String name; | ||
private final String value; | ||
private final boolean allowReserved; | ||
|
||
private QueryParameter(String name, String value, boolean allowReserved) { | ||
this.name = name; | ||
this.value = value; | ||
this.allowReserved = allowReserved; | ||
} | ||
|
||
public static QueryParameter of(String name, String value, boolean allowReserved) { | ||
return new QueryParameter(name, value, allowReserved); | ||
} | ||
|
||
public String name() { | ||
return name; | ||
} | ||
|
||
public String value() { | ||
return value; | ||
} | ||
|
||
public boolean allowReserved() { | ||
return allowReserved; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return "QueryParameter [name=" + name + ", value=" + value + ", allowReserved=" + allowReserved + "]"; | ||
} | ||
|
||
@Override | ||
public int hashCode() { | ||
return Objects.hash(allowReserved, name, value); | ||
} | ||
|
||
@Override | ||
public boolean equals(Object obj) { | ||
if (this == obj) | ||
return true; | ||
if (obj == null) | ||
return false; | ||
if (getClass() != obj.getClass()) | ||
return false; | ||
QueryParameter other = (QueryParameter) obj; | ||
return allowReserved == other.allowReserved && Objects.equals(name, other.name) | ||
&& Objects.equals(value, other.value); | ||
} | ||
|
||
} |
Oops, something went wrong.