Skip to content

Latest commit

 

History

History
executable file
·
49 lines (33 loc) · 980 Bytes

File metadata and controls

executable file
·
49 lines (33 loc) · 980 Bytes

accounts

Overview

Accounts

Available Operations

listUsers

Show current user accounts

Example Usage

package hello.world;

import structure.Structure.SDK;
import structure.Structure.models.operations.ListUsersResponse;
import structure.Structure.models.shared.Security;

public class Application {
    public static void main(String[] args) {
        try {
            SDK sdk = SDK.builder()
                .setSecurity(new Security("distinctio") {{
                    bearerAuth = "";
                }})
                .build();

            ListUsersResponse res = sdk.accounts.listUsers();

            if (res.body != null) {
                // handle response
            }
        } catch (Exception e) {
            // handle exception
        }
    }
}

Response

structure.Structure.models.operations.ListUsersResponse