mirror of
https://github.com/hanzo-cpp/sdk.git
synced 2026-11-20 19:55:32 +00:00
The projection was 113 commits behind the document it claims to describe, and `generate.py --all --check` reported every one of the thirteen clients DRIFTED — the same +19 models in each, because they all fell behind the same emission. Regenerated in place from hanzo-inc/cloud openapi.yaml at 939b09d4 (sha256 087024f6…), which is the only description of this API that cannot name a route the binary does not serve. `--check` is clean across all thirteen after. .spec-lock moved with the code. The generator READS that file and never writes it — hanzoai/ci`s lane does — so a hand run leaves every lock naming the previous document. A lock that disagrees with the tree beside it is worse than no lock: the next `--check` without `--spec` fetches what production serves, compares it to a digest that was already wrong, and reports drift that is really staleness.
236 lines
6.2 KiB
C++
236 lines
6.2 KiB
C++
/**
|
|
* Hanzo Cloud API
|
|
* The Hanzo Cloud API as a customer calls it: every operation under /v1/ except the operator's admin product, relay routes, legacy spellings and capabilities still reached by flag. Tagged by product: the first path segment after /v1/.
|
|
*
|
|
* The version of the OpenAPI document: v1
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI-Generator 7.14.0.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* Iam_WebauthnCredential.h
|
|
*
|
|
*
|
|
*/
|
|
|
|
#ifndef HANZO_MODEL_Iam_WebauthnCredential_H_
|
|
#define HANZO_MODEL_Iam_WebauthnCredential_H_
|
|
|
|
#include <boost/optional.hpp>
|
|
|
|
#include "hanzo/ModelBase.h"
|
|
|
|
#include <cpprest/details/basic_types.h>
|
|
#include <vector>
|
|
|
|
namespace hanzo {
|
|
namespace model {
|
|
|
|
|
|
|
|
class Iam_WebauthnCredential
|
|
: public ModelBase
|
|
{
|
|
public:
|
|
Iam_WebauthnCredential();
|
|
virtual ~Iam_WebauthnCredential();
|
|
|
|
/////////////////////////////////////////////
|
|
/// ModelBase overrides
|
|
|
|
void validate() override;
|
|
|
|
web::json::value toJson() const override;
|
|
bool fromJson(const web::json::value& json) override;
|
|
|
|
void toMultipart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) const override;
|
|
bool fromMultiPart(std::shared_ptr<MultipartFormData> multipart, const utility::string_t& namePrefix) override;
|
|
|
|
|
|
/////////////////////////////////////////////
|
|
/// Iam_WebauthnCredential members
|
|
|
|
|
|
utility::string_t getAaguid() const;
|
|
bool aaguidIsSet() const;
|
|
void unsetAaguid();
|
|
void setAaguid(const utility::string_t& value);
|
|
|
|
utility::string_t getAttachment() const;
|
|
bool attachmentIsSet() const;
|
|
void unsetAttachment();
|
|
void setAttachment(const utility::string_t& value);
|
|
|
|
/// <summary>
|
|
/// AttestationFormat is the statement format the authenticator attested in (\"packed\", \"apple\", \"none\", …), which is a DIFFERENT value from the attestation type above. The library reads it back when resolving the FIDO AppID extension, so a row that dropped it would round-trip a credential the verifier no longer recognises as the one it stored.
|
|
/// </summary>
|
|
utility::string_t getAttestationFormat() const;
|
|
bool attestationFormatIsSet() const;
|
|
void unsetAttestationFormat();
|
|
void setAttestationFormat(const utility::string_t& value);
|
|
|
|
utility::string_t getAttestationType() const;
|
|
bool attestationTypeIsSet() const;
|
|
void unsetAttestationType();
|
|
void setAttestationType(const utility::string_t& value);
|
|
|
|
bool isBackupEligible() const;
|
|
bool backupEligibleIsSet() const;
|
|
void unsetBackupEligible();
|
|
void setBackupEligible(bool value);
|
|
|
|
bool isBackupState() const;
|
|
bool backupStateIsSet() const;
|
|
void unsetBackupState();
|
|
void setBackupState(bool value);
|
|
|
|
bool isCloneWarning() const;
|
|
bool cloneWarningIsSet() const;
|
|
void unsetCloneWarning();
|
|
void setCloneWarning(bool value);
|
|
|
|
utility::datetime getCreatedAt() const;
|
|
bool createdAtIsSet() const;
|
|
void unsetCreatedAt();
|
|
void setCreatedAt(const utility::datetime& value);
|
|
|
|
utility::string_t getCreatedTime() const;
|
|
bool createdTimeIsSet() const;
|
|
void unsetCreatedTime();
|
|
void setCreatedTime(const utility::string_t& value);
|
|
|
|
utility::string_t getCredentialId() const;
|
|
bool credentialIdIsSet() const;
|
|
void unsetCredentialId();
|
|
void setCredentialId(const utility::string_t& value);
|
|
|
|
bool isDeleted() const;
|
|
bool deletedIsSet() const;
|
|
void unsetDeleted();
|
|
void setDeleted(bool value);
|
|
|
|
utility::string_t getId() const;
|
|
bool idIsSet() const;
|
|
void unsetId();
|
|
void setId(const utility::string_t& value);
|
|
|
|
utility::string_t getName() const;
|
|
bool nameIsSet() const;
|
|
void unsetName();
|
|
void setName(const utility::string_t& value);
|
|
|
|
utility::string_t getOwner() const;
|
|
bool ownerIsSet() const;
|
|
void unsetOwner();
|
|
void setOwner(const utility::string_t& value);
|
|
|
|
utility::string_t getPublicKey() const;
|
|
bool publicKeyIsSet() const;
|
|
void unsetPublicKey();
|
|
void setPublicKey(const utility::string_t& value);
|
|
|
|
int32_t getSignCount() const;
|
|
bool signCountIsSet() const;
|
|
void unsetSignCount();
|
|
void setSignCount(int32_t value);
|
|
|
|
std::vector<utility::string_t> getTransport() const;
|
|
bool transportIsSet() const;
|
|
void unsetTransport();
|
|
void setTransport(const std::vector<utility::string_t>& value);
|
|
|
|
utility::datetime getUpdatedAt() const;
|
|
bool updatedAtIsSet() const;
|
|
void unsetUpdatedAt();
|
|
void setUpdatedAt(const utility::datetime& value);
|
|
|
|
utility::string_t getUser() const;
|
|
bool userIsSet() const;
|
|
void unsetUser();
|
|
void setUser(const utility::string_t& value);
|
|
|
|
bool isUserPresent() const;
|
|
bool userPresentIsSet() const;
|
|
void unsetUserPresent();
|
|
void setUserPresent(bool value);
|
|
|
|
bool isUserVerified() const;
|
|
bool userVerifiedIsSet() const;
|
|
void unsetUserVerified();
|
|
void setUserVerified(bool value);
|
|
|
|
|
|
protected:
|
|
utility::string_t m_Aaguid;
|
|
bool m_AaguidIsSet;
|
|
|
|
utility::string_t m_Attachment;
|
|
bool m_AttachmentIsSet;
|
|
|
|
utility::string_t m_AttestationFormat;
|
|
bool m_AttestationFormatIsSet;
|
|
|
|
utility::string_t m_AttestationType;
|
|
bool m_AttestationTypeIsSet;
|
|
|
|
bool m_BackupEligible;
|
|
bool m_BackupEligibleIsSet;
|
|
|
|
bool m_BackupState;
|
|
bool m_BackupStateIsSet;
|
|
|
|
bool m_CloneWarning;
|
|
bool m_CloneWarningIsSet;
|
|
|
|
utility::datetime m_CreatedAt;
|
|
bool m_CreatedAtIsSet;
|
|
|
|
utility::string_t m_CreatedTime;
|
|
bool m_CreatedTimeIsSet;
|
|
|
|
utility::string_t m_CredentialId;
|
|
bool m_CredentialIdIsSet;
|
|
|
|
bool m_Deleted;
|
|
bool m_DeletedIsSet;
|
|
|
|
utility::string_t m_Id;
|
|
bool m_IdIsSet;
|
|
|
|
utility::string_t m_Name;
|
|
bool m_NameIsSet;
|
|
|
|
utility::string_t m_Owner;
|
|
bool m_OwnerIsSet;
|
|
|
|
utility::string_t m_PublicKey;
|
|
bool m_PublicKeyIsSet;
|
|
|
|
int32_t m_SignCount;
|
|
bool m_SignCountIsSet;
|
|
|
|
std::vector<utility::string_t> m_Transport;
|
|
bool m_TransportIsSet;
|
|
|
|
utility::datetime m_UpdatedAt;
|
|
bool m_UpdatedAtIsSet;
|
|
|
|
utility::string_t m_User;
|
|
bool m_UserIsSet;
|
|
|
|
bool m_UserPresent;
|
|
bool m_UserPresentIsSet;
|
|
|
|
bool m_UserVerified;
|
|
bool m_UserVerifiedIsSet;
|
|
|
|
};
|
|
|
|
|
|
}
|
|
}
|
|
|
|
#endif /* HANZO_MODEL_Iam_WebauthnCredential_H_ */
|